0

In nginx when using the $ssl_client_raw_cert to get the cert as a pem in the header; is it just the encoded cert or is it in the following format?

-----BEGIN CERTIFICATE -----

Encoded Cert

-----END CERTIFICATE -----

the doc says

returns the client certificate in the PEM format for an established SSL connection;

3
  • Based on a sample of one, the -----BEGIN CERTIFICATE ----- marker is definitely present. Commented Apr 28, 2017 at 13:32
  • @RichardSmith you got it off the server? else if you have any link to the sample you saw much appreciate it. Commented Apr 28, 2017 at 16:04
  • I use client certificates on one of my servers, so I just had a look at that variable. Commented Apr 28, 2017 at 16:13

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.