I'm trying to get a serial number ( like $ssl_client_serial in nginx ) certificate without the private key and I don't know how to do it.
I have drawn a scheme:
client <- HTTPS -> HAproxy or Nginx without private key <- HTTPS -> server application with the private key
How would I get the serial number ( like $ssl_client_serial in nginx ) certificate without a private key?