Setup SSL Virtual Host on Non Standard port in Apache

setup ssl on 443 + non standard port

1. Add listen for new port on ssl.conf

# grep ‘Listen 8882’ /etc/httpd/conf.d/ssl.conf
Listen 8882

3. setup vhost

<VirtualHost *:8882>
DocumentRoot /var/www/html/phpmyadmin
LogLevel warn
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
</VirtualHost>

3. Restart apache.

4. Verify listending of new port.

[root@psych-web-t1 conf.d]# netstat -ntla | grep 8882
tcp        0      0 :::8882                     :::*                        LISTEN

Verify:

https://domain.com:8882/