Tests with digital certificates

7

I would like to know if anyone knows a way to test 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 has some errors. I'd need digital certificates for tests. Invalid, expired, valid ... Would that be possible or am I wanting too much?

    
asked by anonymous 22.09.2015 / 21:24

1 answer

2

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

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

Here's an article about it:

link

    
26.09.2015 / 15:14