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

[IMPROVEMENT] Generate a unique CA Serial Number #20

Open
aborroy opened this issue Apr 5, 2022 · 0 comments
Open

[IMPROVEMENT] Generate a unique CA Serial Number #20

aborroy opened this issue Apr 5, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@aborroy
Copy link
Contributor

aborroy commented Apr 5, 2022

Currently the serial number for CA certificate is set to a fixed value (1000) every time:

https://github.com/Alfresco/alfresco-ssl-generator/blob/master/ssl-tool/run.sh#L183

Improvement

When creating the CA, a unique serial number should be generated.

The code needs to be adapted to use openssl ca -create_serial feature.

Reference: https://github.com/ecm4u/alf-genssl/blob/main/alf-genssl.sh#L76

@aborroy aborroy added the enhancement New feature or request label Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant