Testing with digital certificates

Asked

Viewed 396 times

7

I wonder if anyone knows a way to test with digital certificates.

I have the following situation, my system works normally with digital certificates. However when the configured certificate expires or in the case of token certificates, it is not properly installed on the machine the system presents some errors. You would need digital certificates for testing. Invalid, expired, valid... That would be possible or I’m looking forward to it?

  • What language? I know that with . net is possible

  • Report more details, what you need to do, which service is working example: POP, IMAP , which language ?

  • The system’s on pascal. I’m not working with email sending, but the system uses the digital certificate to sign and send documents to a server.

1 answer

2


For an invalid certificate it is easy, just create a self-signed certificate, with some variations such as a wrong domain name. As for certificates that are valid on time and expired, the best way is (only in your testing environment) to be a certifying authority.

You can then create valid certificates (in the context of your environment) on time and expired, in addition to invalid ones.

Here’s an article about that:

http://eriberto.pro.br/wiki/index.php?title=Authority_Certificaora_(CA)_com_o_OpenSSL

Browser other questions tagged

You are not signed in. Login or sign up in order to post.