ssl - Pound Apache Varnish - HTTPS requests -
i followed guide, enable https websites: http://www.geoffstratton.com/varnish-and-pound-apache works, not https
however run few differences , https doesn't work:
what have difference in is:
start=yes daemon_opts="-a :80 \ -t localhost:6082 \ -f /etc/varnish/default.vcl \ -s /etc/varnish/secret \ -s malloc,256m"
used custom.vcl here
$cfg['pmaabsoluteuri'] = 'http://myserver.com/path-to-phpmyadmin';
then, assuming phpmyadmin lives in directory myserver.com/phpmyadmin, tell varnish ignore in vcl_recv:
if (req.url ~ "phpmyadmin") { return(pass); } , in sub vcl_fetch: if (req.url ~ "phpmyadmin") { return(hit_for_pass); }
skiped part completely, reason varnish , phpmyadmin works without it.
your .pem files have in order of rsa key, server certificate, intermediate certificate.
i had different certificates given, , instructions convert private.key private_rsa.key. did so. , created .pem file. last part - intermediate certificate combined me, called ca bundle - could reason https not working?
also when created .pem file command. added rules before certificates data, need keep them or remove?
they this:
private-key: (2048 bit) modulus: ... publicexponent: 65537 (0x10001) privateexponent:
also, understood - don't need setup virtual hosts, if setuped on :8080, right?
Comments
Post a Comment