Re: Chromium and self-signed certificates

Liste des GroupesRevenir à cs raspberry-pi 
Sujet : Re: Chromium and self-signed certificates
De : <bp (at) *nospam* www.zefox.net>
Groupes : comp.sys.raspberry-pi
Date : 01. Sep 2024, 17:28:43
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb24nq$1huca$2@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p9 (arm64))
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Sun, 1 Sep 2024 00:43:57 -0000 (UTC), bp wrote:
 
I thought the host certificate _became_ a CA
certificate through the self-signing process..... So, I actually need
_two_ certificates, one for the server and one for the signing
authority, both created on the sesrver?
 
A CA cert needs to be self-signed, since of course there is nobody higher
(within the SSL/TLS protocol, anyway) to vouch for a CA’s authenticity.
The OS (or the browser) typically comes with a set of CA certs that it
trusts, preinstalled. So any cert signed (directly or indirectly) by any
of these CAs becomes trusted as well. And you should be able to add to
these certs, or even remove them.
 
Presumably the client (a Pi5 running RasPiOS) already has created its
own?
 
Its own CA? Hard to think why it would.
 
Ah, only a host certificate is needed for an anonymous client, like
my browser?

The procedure for being your own CA is a lot simpler in OpenSSL 3. I
have some notes here <https://gitlab.com/ldo/ssl_try_python/>.
 
Fortunately it seems OpenSSL 3 is installed. I'll try your exercise
shortly
 
I should mention that my example use of TLS/SSL is as a wrapper for an
entirely custom protocol, not related to HTTP/HTTPS. There are certain
requirements for certs used for HTTP/HTTPS, where the “subject” field must
contain the fully-qualified DNS name in the “CN=” part.

That much I gathered. Still, it looks like there are are three uses for
encrypted, authenticated communications between hosts: Mail, web traffic
and remote logins. SSL is installed and working for remote logins on all
the hosts under my control by default. Can a single ssl/tls configuration
support all three services? Am I wrong to think of ssl and tls as one thing?

Apologies for all the naive questions!

bob prohaska

 



Date Sujet#  Auteur
13 Aug 24 * Chromium and self-signed certificates25<bp
14 Aug 24 +- Re: Chromium and self-signed certificates1Lawrence D'Oliveiro
14 Aug 24 `* Re: Chromium and self-signed certificates23Richard Kettlewell
15 Aug 24  `* Re: Chromium and self-signed certificates22<bp
31 Aug 24   `* Re: Chromium and self-signed certificates21<bp
31 Aug 24    +* Re: Chromium and self-signed certificates8Richard Kettlewell
1 Sep 24    i`* Re: Chromium and self-signed certificates7<bp
1 Sep 24    i +* Re: Chromium and self-signed certificates5Lawrence D'Oliveiro
1 Sep 24    i i`* Re: Chromium and self-signed certificates4<bp
2 Sep 24    i i `* Re: Chromium and self-signed certificates3Lawrence D'Oliveiro
2 Sep 24    i i  `* Re: Chromium and self-signed certificates2<bp
3 Sep 24    i i   `- Re: Chromium and self-signed certificates1Richard Kettlewell
1 Sep 24    i `- Re: Chromium and self-signed certificates1Richard Kettlewell
1 Sep 24    `* Re: Chromium and self-signed certificates12Lawrence D'Oliveiro
1 Sep 24     `* Re: Chromium and self-signed certificates11<bp
1 Sep 24      `* Re: Chromium and self-signed certificates10Lawrence D'Oliveiro
1 Sep 24       `* Re: Chromium and self-signed certificates9<bp
1 Sep 24        `* Re: Chromium and self-signed certificates8Richard Kettlewell
1 Sep 24         `* Re: Chromium and self-signed certificates7<bp
2 Sep 24          +* Re: Chromium and self-signed certificates4Lawrence D'Oliveiro
7 Sep 24          i`* Re: Chromium and self-signed certificates3<bp
8 Sep 24          i `* Re: Chromium and self-signed certificates2Lawrence D'Oliveiro
9 Sep 24          i  `- Re: Chromium and self-signed certificates1<bp
2 Sep 24          `* Re: Chromium and self-signed certificates2Richard Kettlewell
3 Sep 24           `- Re: Chromium and self-signed certificates1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal