0

I need to revoke x509 client certificates in Ruby. I can do so via the openssl command:

openssl ca -revoke certificate.pem

but there does not appear to be an API to do this, at least not in Ruby's OpenSSL module.

Is there an API in OpenSSL or another tool (that runs on Linux) that can do this?

1 Answers1

0

See this question.

%x( openssl ca -revoke certificate.pem )
Community
  • 1
  • 1
OneChillDude
  • 7,856
  • 10
  • 40
  • 79
  • Thanks, I was hoping for an API. Doing it via command line is worst case, as openssl will prompt for a password, etc. – Michael Hart Mar 28 '14 at 23:14