What is the OCSP signing cert and key? Who should issue it?
So, if I have this:
- Example Root Certificate Authority
- Example Intermediate Certificate Authority
- *.example.com (any domain)
I have setup the OCSP for the domain cert only, so the OCSP url is http://ocsp.example.com.
Now, I learnt to run an OCSP server with openssl:
openssl ocsp -host 127.0.0.5 -port 80 -rsigner "what_cert?.crt" -rkey "what_cert?.key" -CA "root_or_intermediate_which_one?.crt" -text -index certindex -ignore_err
127.0.0.5 points to ocsp.example.com
Now in that command, I learnt that those two are ocsp signing certs and keys:
openssl ocsp -host 127.0.0.5 -port 80 -rsigner "ocsp.crt" -rkey "ocsp.key" -CA "root_or_intermediate_which_one?.crt" -text -index certindex -ignore_err
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
should it be the ROOT or the INTERMEDIATE?
Now, the next question is what is the OCSP signing certificate and key? Who should issue it?
Finally, these are the questions, I have setup OCSP for the domain cert only, so let me get appropriate instructions for it:
- What should be the
-CAoption? Should it be the ROOT or the INTERMEDIATE? - What is the OCSP signing certificate and key, and who should issue it? (And if you can help me, please also let me know how to issue it using OpenSSL)