Thread: Apache2 SSL dropping "www" from FQDN
so, have site. www.kinnee.net i'm trying ssl setup on. ssl working, it's complaining cert because host name doesn't match. if hit http://www.kinnee.net it's redirecting https it's supposed it's going https://kinnee.net not https://www.kinnee.net want to.
000-default
html code:<virtualhost *:80> documentroot /var/www/ rewriteengine on rewritecond %{https} off rewriterule (.*) https://%{http_host}%{request_uri} </virtualhost> <virtualhost *:443> serveradmin [email]erick@kinnee.net[/email] documentroot /var/www/ sslengine on ssloptions +strictrequire sslcertificatechainfile /etc/ssl/kinnee.net.ca-bundle <directory /> options followsymlinks allowoverride none sslrequiressl </directory> sslprotocol -all +tlsv1 +sslv3 sslciphersuite high:medium:!anull:+sha1:+md5:+high:+medium sslsessioncachetimeout 600 sslcertificatefile /etc/ssl/kinnee.net.crt sslcertificatekeyfile /etc/ssl/kinnee.net.key sslverifyclient none sslproxyengine off <ifmodule mime.c> addtype application/x-x509-ca-cert .crt addtype application/x-pkcs7-crl .crl </ifmodule> setenvif user-agent ".*msie.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0 <directory /var/www/> options indexes followsymlinks multiviews allowoverride none order allow,deny allow </directory> scriptalias /cgi-bin/ /usr/lib/cgi-bin/ <directory "/usr/lib/cgi-bin"> allowoverride none options +execcgi -multiviews +symlinksifownermatch order allow,deny allow </directory> errorlog ${apache_log_dir}/error.log # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. loglevel warn customlog ${apache_log_dir}/access.log combined alias /doc/ "/usr/share/doc/" <directory "/usr/share/doc/"> options indexes multiviews followsymlinks allowoverride none order deny,allow deny allow 127.0.0.0/255.0.0.0 ::1/128 </directory> </virtualhost>
ok, fixed it. seems setting within wordpress. had change server address there www.kinnee.net.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [SOLVED] Apache2 SSL dropping "www" from FQDN
Ubuntu
Comments
Post a Comment