I am working on a https proxy and I need to change the https certificate on the fly. For example:
- a client request www.google.com
- the https server(proxy) must create a certificate with CommonName = www.google.com
- the https server must send this certificate to client
The https server takes as parameters the key and certificate, but I don't need a static certificate, I need to change the certificate on every different request.
Any ideas?