How To – SSL self signed certificate

Install OpenSSL

To properly set up SSL self-signed certificate we need openssl library. To check if we have it already installed (on Linux and Mac OS) simply input this command in terminal

If it returns something like this:

we can go further and create certificate. In other way we have to install openssl library. For different systems we can do the following:

Create SSL certificate

To properly create SSL certificate just input in your terminal following commands

And now we can create our certificate using server.key and server.csr files


Leave a Reply