php - Apache configuring ssl -
i have following namevirtualhost *:443 <virtualhost 55.55.55.55:443> #<virtualhost *:443> sslengine on sslcertificatefile /path/to/cert/mycert.crt sslcertificatekeyfile /path/to/key/mykey.key sslcacertificatefile /path/to/bundle/bundle.crt serveradmin info@mydomain.com servername www.mydomain.com documentroot /var/www/html/ </virtualhost> i have java program accesses above url using https. when comment out virtualhost line ip address , uncomment wildcard line, java program gives me "peer not authenticated" exception. when leave is, java program works expected. main reason want way have other subdomains define other sections. what issue using wildcard virtualhost line? the issue defining ip address directive being used. however, when used *:443 directive have servername www.mydomain.com , not accessing www when try access page virtualhost block not being used. rather there _default:443 directive in different c...