Difference between revisions of "SSL: Generate SSL Certificate Request"

From OnnoWiki
Jump to navigation Jump to search
Line 15: Line 15:
 
  sudo openssl req -new -newkey rsa:2048 -nodes -keyout domain.key -out domain.csr
 
  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
  
  

Revision as of 16:40, 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


Referensi

Pranala Menarik