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

New feature request - dist folder #5

Open
MitchDresdner opened this issue Jul 12, 2020 · 0 comments
Open

New feature request - dist folder #5

MitchDresdner opened this issue Jul 12, 2020 · 0 comments

Comments

@MitchDresdner
Copy link

Hi, I really like the convenience and ease of use of what you guys have done!

Any chance you could add a capability at the end of the script to copy key and certs to a dist folder?

i.e.

On complete, copy certs to dist folder

mkdir dist
cp 2_intermediate/certs/ca-chain.cert.pem dist/serverCrt.pem
cp 3_application/certs/$1.cert.pem dist/serverKey.pem
cp 4_client/certs/$1.cert.pem dist/clientCrt.pem
cp 4_client/private/$1.key.pem dist/clientKey.pem

Also, please add dist to cleanup.

It would help in making the script more general for other self signed micro service projects.

Thanks!

Recently blogged about generate.sh here:
https://bestow.info/mutual-authentication-with-go/

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