$ sudo apt-get install openssl
$ sudo apt-get install libssl-dev
Generate SSL certificate
$ openssl genrsa -des3 -out abc.key 2048
You are prompted to enter and confirm the password.
$openssl req -new -key abc.key -out abc.csr
Enter in sequence:
CN
ShangHai
ShangHai
CUC
CS
[email protected]
Create a self-signed CA certificate
$openssl req -new -x509 -days 3650 -key abc.key -out abc.crt
Enter in turn:
CN
ShangHai
ShangHai
CUc
CS
myName
[email protected]
Ubuntu - Install OpenSSL and generate a certificate.
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326277222&siteId=291194637
Recommended
Ranking