You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
268 B
7 lines
268 B
2 years ago
|
openssl genrsa -des3 -out server.key 2048
|
||
|
openssl req -new -key server.key -out server.csr
|
||
|
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
|
||
|
cp server.key server.key.copy
|
||
|
openssl rsa -in server.key.copy -out server.key
|
||
|
rm server.key.copy
|