konfigurasi WEB SERVER dan HTTPS pada fedora

Senin, 28 Juni 2010

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

2. Buka file httpd.conf
gedit /etc/httpd/conf/httpd.conf
editlah serverName www.example.com : 80
menjadi ServerName (masukan IP anda) :80

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

0 komentar:

Posting Komentar