DecipherNow / certifiable

A completely untrustworthy certificate authority and tooling for making development with certificates easy.
0 stars 0 forks source link

Unable to issue multiple certs with same SNA #9

Open chrisbsmith opened 6 years ago

chrisbsmith commented 6 years ago

If multiple certs are required to be issued with the same SNA, the second issuance command will overwrite the first generated cert. This is because #{params['server']} represents the SNA and is not unique in this scenario. Since the original cert would be overwritten, there is no way to access the first generated cert.

https://github.com/DecipherNow/certifiable/blob/96b9f76ad305e2d5ce2b0810a0a405b5a77ba143/docker/usr/local/bin/certifiable.rb#L52-L54