Skip to content

Generating a self-signed SSL certificate

openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt

    No Comments ( Add comment / trackback )

    Post a comment

    (required)
    (required)

    Your email is never published nor shared.

    (optional)
    Allowed HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>