HTTPS SSL Termination di Apache Centos 6

Tinggal kita pastikan saja mod_proxy sudah di onkan dan install tentunya kemudian tambahkan saja di baris paling bawah file /etc/httpd/conf/httpd.conf

<VirtualHost *:443>
ServerName map.my.id
ProxyPreserveHost On
ProxyPass / http://192.168.1.203:8181/
ProxyPassReverse / http://192.168.1.203:8181/
ErrorLog logs/map-ssl-error_log
CustomLog logs/map-ssl-access_log common
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/STAR_map_id.crt
SSLCertificateKeyFile /etc/pki/tls/private/star_map_id.key
SSLCertificateChainFile /etc/pki/tls/certs/map.id.ca-bundle
</VirtualHost>
<VirtualHost *:443>
ServerName map2.my.id
ProxyPreserveHost On
ProxyPass / http://192.168.1.203:8080/
ProxyPassReverse / http://192.168.1.203:8080/
ErrorLog logs/map2-ssl-error_log
CustomLog logs/map2-ssl-access_log common
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/STAR_map_id.crt
SSLCertificateKeyFile /etc/pki/tls/private/star_map_id.key
SSLCertificateChainFile /etc/pki/tls/certs/map.id.ca-bundle
</VirtualHost>

Share on Google Plus

About Rolly Maulana Awangga

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment