Re: OT, self-signed ssl certificate generation

Marcin Cieslak <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On Thu, 29 Aug 2024, bob prohaska wrote:

> Probably I should just accept the necessity of a passphrase and
> resume trying to get apache working with https; getting chromium
> to accept a self-signed certificate is proving difficult.

For a fully automated generation you can try something like this:

openssl req -new -x509 -days 365 \
         -sha3-512 -newkey rsa:4096 \
         -keyout host.key -out host.crt -nodes \
         -subj '/CN=example.org' -addext "subjectAltName = DNS:example.org"

Marcin
smime.p7s (application/pkcs7-signature, 3.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.