I have SSL installed on my website. I wrote a java web service and deployed it in public_html/WEB-INF/service folder. Now I can access my service over http (like http://www.mydomain.com/services/myWebService?wsdl) but when I try it over https it gives me error 404.
Here is the virtual host configuration
<VirtualHost 44.123.123.123:443>
ServerName mydomain.com
ServerAlias www.mydomain.com
DocumentRoot /home/accountName/public_html
ServerAdmin webmaster@mydomain.com
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/mydomain.com combined
CustomLog /usr/local/apache/domlogs/mydomain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
## User accountName # Needed for Cpanel::ApacheConf
<IfModule mod_suphp.c>
suPHP_UserGroup accountName accountName
</IfModule>
<IfModule !mod_disable_suexec.c>
<IfModule !mod_ruid2.c>
SuexecUserGroup accountName accountName
</IfModule>
</IfModule>
<IfModule mod_ruid2.c>
RUidGid accountName accountName
</IfModule>
ScriptAlias /cgi-bin/ /home/accountName/public_html/cgi-bin/
SSLEngine on
SSLCertificateFile /etc/ssl/certs/www.mydomain.com.crt
SSLCertificateKeyFile /etc/ssl/private/www.mydomain.com.key
SSLCACertificateFile /etc/ssl/certs/www.mydomain.com.cabundle
CustomLog /usr/local/apache/domlogs/mydomain.com-ssl_log combined
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
<Directory "/home/accountName/public_html/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
# To customize this VirtualHost use an include file at the following location
Include "/usr/local/apache/conf/userdata/ssl/2/accountName/mydomain.com/*.conf"
</VirtualHost>
Do I have to configure SSL for services as well? What am I missing?
Thanks