Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock OCSP server uses openssl command #764

Open
garethsb opened this issue Feb 24, 2023 · 0 comments
Open

Mock OCSP server uses openssl command #764

garethsb opened this issue Feb 24, 2023 · 0 comments

Comments

@garethsb
Copy link
Contributor

As mentioned on https://github.com/AMWA-TV/nmos-testing/blob/6800d535376f5cd6fb2aee51642389efd02da75a/docs/1.1.%20Installation%20-%20Local.md#dependencies, mock OCSP server uses openssl command.

subprocess.run(["openssl", "ocsp", "-index", "test_data/BCP00301/ca/intermediate/index.txt",
"-rsigner", "test_data/BCP00301/ca/intermediate/certs/intermediate.cert.pem",
"-rkey", "test_data/BCP00301/ca/intermediate/private/intermediate.key.pem",
"-CA", "test_data/BCP00301/ca/intermediate/certs/ca-chain.cert.pem",
"-reqin", "test_data/BCP00301/ca/ocspreq.der",
"-respout", "test_data/BCP00301/ca/ocspresp.der"])

I think it would be better if the same could be achieved using the python OpenSSL library... or we should update check_external_requirements function to check it is installed.

def check_external_requirements():

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant