Difference between revisions of "SSL: Generate SSL Certificate Request"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 16: | Line 16: | ||
sudo openssl req -new -newkey rsa:2048 -nodes -keyout lms.onnocenter.or.id.key -out lms.onnocenter.or.id.csr | sudo openssl req -new -newkey rsa:2048 -nodes -keyout lms.onnocenter.or.id.key -out lms.onnocenter.or.id.csr | ||
− | + | sudo openssl req -new -newkey rsa:2048 -nodes -keyout onnocenter.or.id.key -out onnocenter.or.id.csr | |
− | |||
==Referensi== | ==Referensi== |
Revision as of 16:46, 28 December 2021
Sumber: https://vitux.com/how-to-generate-a-certificate-signing-request-csr-on-ubuntu/
Step 1: Generate a private key
sudo openssl genrsa –out domain.key 2048
Step 2: Generate the CSR
sudo openssl req –new –key domain.key –out domain.csr
Alternative Method of generating a CSR
Generate Certificate Signing Request (CSR) dan Private Key sekaligus
sudo openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr
sudo openssl req -new -newkey rsa:2048 -nodes -keyout lms.onnocenter.or.id.key -out lms.onnocenter.or.id.csr sudo openssl req -new -newkey rsa:2048 -nodes -keyout onnocenter.or.id.key -out onnocenter.or.id.csr