Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Listen 5454
- <VirtualHost *:5454>
- SSLProxyEngine on
- SSLProxyVerifyDepth 10
- SSLProxyMachineCertificateChainFile "/path/to/ca/ca.crt"
- SSLProxyMachineCertificateFile "/path/to/cert/cert_and_key.pem"
- SSLProxyVerify require
- ProxyRequests Off
- <Proxy *>
- Require all granted
- </Proxy>
- ProxyPass / https://example.com/
- ProxyPassReverse / https://example.com/
- </VirtualHost>
- curl http://localhost:5454
- Listen 5454
- <VirtualHost *:5454>
- SSLProxyEngine on
- SSLProxyVerifyDepth 10
- SSLProxyMachineCertificateChainFile "/path/to/ca/ca.crt"
- SSLProxyMachineCertificateFile "/path/to/cert/cert_and_key.pem"
- SSLProxyVerify require
- ProxyRequests On
- <Proxy *>
- Require all granted
- </Proxy>
- </VirtualHost>
- curl --proxy http://localhost:5454 https://www.example.com
- curl: (56) NSS: client certificate not found (nickname not specified)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement