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

Unable to issue multiple certs with same SNA #9

Open
chrisbsmith opened this issue Sep 28, 2018 · 0 comments
Open

Unable to issue multiple certs with same SNA #9

chrisbsmith opened this issue Sep 28, 2018 · 0 comments

Comments

@chrisbsmith
Copy link
Contributor

chrisbsmith commented Sep 28, 2018

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.

post '/servers/:server' do
`/usr/local/bin/server.sh #{params['server']} "#{params['cn']}" #{SecureRandom.hex(3)}`
end

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