Cara Membuat CSR (Certificate Signing Request)

Untuk membuat CSR kita bisa eksekusi perintah berikut di terminal:

openssl req -new -newkey rsa:2048 -nodes -keyout domain.com.key  -out domain.com.csr

Kira-kira outputnya dan yang perlu kita entry adalah sebagai berikut:

Generating a RSA private key
............................+++++
.........+++++
writing new private key to 'domain.com.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:ID
string is too long, it needs to be no more than 2 bytes long
Country Name (2 letter code) [AU]:id
State or Province Name (full name) [Some-State]:Malang Kota
Locality Name (eg, city) []:Malang
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Nacita
Organizational Unit Name (eg, section) []:IT Service
Common Name (e.g. server FQDN or YOUR name) []:*.domain.com
Email Address []:admin@domain.com

Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

samsul@krilin:/tmp/ssl> ls
domain.com.csr  domain.com.key

Hasilnya berupa file domain.com.csr dan domain.com.key. File domain.com.csr dapat kita upload ke penyedia SSL untuk membeli ssl yang kita maksud dan file domain.com.key nantinya akan kita upload ke server setelah mendapatkan file SSL dari penyedia.

  • linux/Cara.Membuat.CSR.Certificate.Signing.Request
  • Terakhir diubah: 10 bulan yang lalu
  • oleh Samsul Maarif