Files
Adrien FerrandandJoona Hoikkala 889aeb31df Validate OCSP responses in case an explicit responder is designated (#7054)
* Validate OCSP response for responders that are not the certificate's issuer.

* Improve OCSP tests using a issuer/responder pair for OCSP responses

* Clean code

* Update ocsp_test.py

* Add various comments

* Add several cases of ocsp responder. More factories for the resilience tests.

* Update ocsp_test.py
2019-06-03 22:55:26 +03:00
..
2016-04-13 16:03:59 -07:00
2016-07-30 11:49:04 +03:00
2016-04-13 16:03:59 -07:00
2016-04-13 16:03:59 -07:00
2016-04-13 16:03:59 -07:00

The following command has been used to generate test keys:

	for x in 256 512 2048; do openssl genrsa -out rsa${k}_key.pem $k; done

and for the CSR PEM (Certificate Signing Request):

		openssl req -new -out csr-Xsans_X.pem -key rsa512_key.pem [-config csr-Xsans_X.conf | -subj '/CN=example.com'] [-outform DER > csr_X.der]

and for the certificate:

  openssl req -new -out cert_X.pem -key rsaX_key.pem -subj '/CN=example.com' -x509 [-outform DER > cert_X.der]