:::: MENU ::::

Generate self-generated SSL certificate (cert/key pair)

  • Jul 05 / 2017
  • 0
Linux

Generate self-generated SSL certificate (cert/key pair)

Here is a simple script with configuration file to generate a self-generated SSL certificate (cert/key pair).

First define a config file openssl.cnf containing the certificate informations:

Then, create the bash script makessl.sh and configure your own parameters (directories, cert filename and validity duration):

Now, execute the bash script:

Let’s check your freshly created certificate and double check the information:

Share...Share on Google+Tweet about this on TwitterShare on RedditShare on LinkedInShare on FacebookEmail this to someone

Comments are closed.

Question ? Contact