🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #311775

Re: TLS cert at SEC3.NET

#311775
From: Grant Taylor
Date: Wed, 28 Oct 2020 00:57
105 lines
4667 bytes
On 10/27/20 5:12 PM, inwtx wrote:
> I didn't take offence.  It was a problem that needed investigating.

:-)

> What is a SAN?

I thought that I expanded the acronym in the previous email.  In case I 
didn't.

    Subject Alternative Name(s)

Maybe you're asking what is a Subject Alternative Name in the context of 
a TLS certificate.

TLS certificates have what is called a Common Name (a.k.a. CN) that is 
(used to be) /the/ identity that the certificate is for.  (Times are a 
changing.  See the PSA / ProTip in the last email.)

Using only the CN means that you would need to have multiple different 
certificates to support multiple names.

Then at some point (I have no idea when) the Subject Alternative Name 
extension appeared where it was possible to put multiple names, or 
subjects, in a certificate.  Meaning that you could put multiple names 
in one certificate.

Just like SEC3 wants to have the following three names in the same 
certificate.

  - sec3.net
  - www.sec3.net
  - caputo.sec3.net

In light of the PSA / ProTip from the previous email, I would recommend 
using caputo.sec3.net as the CN and listing all three of the above names 
in the SAN field.

Please ask follow up questions if you want to.  (Either here or direct.)

> What is the acme.sh?

acme.sh is a Let's Encrypt (or any other CA that supports the ACME 
protocol) /client/, one of many.  I don't actually know the name of the 
client that Let's Encrypt themselves provide.  "CertBot" comes to mind 
as another Let's Encrypt (ACME protocol) client.  It happens to be 
written in -- I think -- Borne (like) shell language.

> I just used the program by itself.

/Which/ program?  The client that Let's Encrypt produces?  Something else?

> The only thing that was wrong with it was that is somehow messed up 
> a ls -a, causing the files and folders to start alphabetically over 
> in the middle of the list and acme didn't show up in the list.

That's odd.  I wonder if you had (or still have) a file in the directory 
that has a file name that is an option to ls, specifically one that 
alters sorting.

If you still have the problem, please try the following command:

    ls -a -- *

The double dash causes most programs to not interpret anything that 
comes after.

Hypothetically, the following commands seem to do the same thing:

    ls -a -- *

and

    ls -a *

But the difference is what happens if you have a file named "-r".  The 
first command will treat "-r" as a file name.  The second command will 
treat "-r" (and anything like it) as an option to the ls command.

> I was able to type in the name and execute it anyway.  I had to copy 
> it to the name z-acme to see it at the end of the list, but even 
> deleting just acme didn't fix the ls -a problem.

I'm sure that it's possible to figure out what happened, and maybe why 
it happened.  But it's your call if you care enough and want to mess 
with it.

> While you mention S/MIME, the emails you sent me several days ago, 
> when I tried to do a mutt reply, your email kept causing mutt to ask 
> for a MIME password.  Whether I gave it something or didn't give it 
> a password, mutt would not send the reply.

Hum.

I sign my emails.  I wonder if you configured mutt to use a certificate 
at some point in the past and it's trying to do so when replying to me. 
I know that I've not done anything non-standard to the emails that I send.

I don't do much with mutt, so I can't say for sure.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <rnafov$5o4$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <rna1f6$332$1@tncsrv09.home.tnetconsulting.net> <rna9gc$kf6$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <rnafov$5o4$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: TLS cert at SEC3.NET
Date: Tue, 27 Oct 2020 18:57:35 -0600
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <rna1f6$332$1@tncsrv09.home.tnetconsulting.net> <rna9gc$kf6$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: TNet Consulting
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 28 Oct 2020 00:59:11 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="5892"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
In-Reply-To: <rna9gc$kf6$1@news.mixmin.net>
Content-Language: en-US
Lines: 104