Showing posts with label key. Show all posts
Showing posts with label key. Show all posts

Friday, October 20, 2023


 

Contoh generate key dan crt file untuk ssl cert menggunakan openssl

mkdir /etc/ssl/mystique

cd /etc/ssl/mystique

openssl genrsa -des3 -passout pass:x -out keypair.key 2048

openssl rsa -passin pass:x -in keypair.key -out mystique.key

openssl req -new -key mystique.key -out mystique.csr

openssl x509 -req -days 365 -in mystique.csr -signkey mystique.key -out mystique.crt

Disesuaikan dengan kebutuhan masing-masing nantinya..

kemudian file crt dan key diregisterkan pada file default-ssl.conf nya apache yak..



IG Cang Ne!! @adi_kumkum