O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTTPS on Linux

Starting with HTTPS in Linux, we can create a self-signed certificate using the openssl tool. Once you generate the certificate, you need to answer a couple of questions about you and/or your organization. Answer the questions (or pick the default or enter a dot, ., to leave it blank):

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout ciserver.key -out ciserver.crtCountry Name (2 letter code)[AU]:NLState or Province Name (full name) [Some-State]:.Locality Name (eg, city) []:Organization Name (eg, company) [Internet Widgits Pty Ltd]:PrivateOrganizational Unit Name (eg, section) []:Common Name (e.g. server FQDN or YOUR name) []:Sander RosselEmail Address []:

So, we are requesting an -x509 structure instead of a ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required