Self-signed certificate doubt

Miklos Vajna vmiklos at collabora.co.uk
Fri Jun 29 07:51:48 UTC 2018


Hi,

On Thu, Jun 28, 2018 at 10:11:08AM +0000, Renato Ribeiro <RenatoRibeiro_88 at hotmail.com> wrote:
> > openssl genrsa -out key.pem 2048
> 
> > openssl req -sha256 -new -key key.pem -out csr.pem
> 
> > openssl ca -keyfile private/ca.key.pem -cert ca.cert.pem -extensions usr_cert -notext -md sha256 -in csr.pem -out cert.pem
> 
> I understand that it's generated a private key then the CSR
> certificate is created and next it's created CA certificate but it's
> already created in the previous steps. Why do this again?

openssl genrsa: generates an RSA private key
openssl req: generates a certificate request
openssl ca: signs the certificate request

The README just documents the bare minimum to get the HTTPS support
going, your question is more about openssl than LibreOffice. ;-)

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180629/1a143b44/attachment.sig>


More information about the LibreOffice mailing list