Instalasi SSL Web Server Dengan Fedora

Posted in By Geo Get's 0 komentar

1. Pertama-tama pastikan bahwa server apache, openssl, dan mod_ssl sudah terinstal
rpm -qa | grep httpd
openssl
mod_ssl

2. Buka lah file httpd.conf
gedit /etc/httpd/conf/httpd.conf
EDITLAH ServerName www.Geolinked.com:80
MENJADI ServerNAme :80

3. membuat certificate.
* cd /etc/pki/tls/certs
* make .key => Private key
* openssl rsa -in kunci.key -out kunci.key
* make .csr => information key
* openssl x509 -in .csr -out .crt -req -signkey .key -days 3650

4 Ubahlah chmod 400 .*


###### KONFIGURASI SSL #########

1. bukalah gedit /etc/httpd/conf.d/ssl.conf

*Edit Documentroot "/var/www/html" => pastikan tidak ada tanda PAGAR '#'
*ServerName www.example.com:443 menjadi=> ip:443
*SSLCertificate file /etc/pki/tls/certs/.crt
*SSLCertificate file /etc/pki/tls/certs/.key