Catatan Harian Mas Andri

Silahkan digunakan dengan bijaksana

back

Membuat Self-Signed Certificates dan Keys SSL dengan OpenSSL di Linux

21 Desember 2016 || 00:19:29 WIB || ClassyID

dengan asumsi paket openssl dan sebagainya sudah terinstall.

Langsung saja buka terminal linux nya :

ketik ini : openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout classyID.key -out classyID.crt

setelah itu tekan enter

nanti akan tampil seperti ini

Generating a 2048 bit RSA private key
.........................................................+++
.......+++
writing new private key to 'classyID.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
State or Province Name (full name) [Some-State]:Jawa Timur
Locality Name (eg, city) []:Kediri
Organization Name (eg, company) [Internet Widgits Pty Ltd]:ClassyID
Organizational Unit Name (eg, section) []:ZonaHelm
Common Name (e.g. server FQDN or YOUR name) []:telegram.zonahelm.com

Berikut ini screenhoot hasilnya

 

menghasilkan 2 file (classyID.crt dan classyID.key)

 

Demikian cara membuat SSL crt dan key

 


File Lampiran :