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

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -