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, 01:43:57
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vb0dcd$17650$2@dont-email.me>
References : 1 2 3 4 5
User-Agent : tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/14.0-RELEASE-p9 (arm64))
Lawrence D'Oliveiro <ldo@nz.invalid> wrote:
On Sat, 31 Aug 2024 00:54:42 -0000 (UTC), bp wrote:
 
The command to generate the self-signed certificate and key pair was
openssl req -new -x509 -days 365 -sha3-512 -keyout host.key -out host.crt
based on instructions from
https://docs.freebsd.org/en/books/handbook/security/ combined with some
private correspondence suggesting it worked correctly.
 
I had a look at those instructions, and they don’t mention how to
generate the actual CA cert. Having your own CA cert means you only
have to import it once into a browser (or other SSL/TLS client), and
it will thereafter trust all certs signed by this CA.
>
 
Ok, that explains a lot. 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? Presumably the client (a Pi5
running RasPiOS) already has created its own?

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

You've cleared up vast confusion, thank you!

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