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

dumpcerts.sh: fixed sed, extracted domain keys #2161

Merged
merged 1 commit into from Sep 22, 2017
Merged

dumpcerts.sh: fixed sed, extracted domain keys #2161

merged 1 commit into from Sep 22, 2017

Conversation

sjawhar
Copy link
Contributor

@sjawhar sjawhar commented Sep 21, 2017

Description

I beefed up the script to extract certs and private keys from acme.json, thought I'd share. The sed script needed a bit of tweaking (-E switch, >> instead of >), and I added an openssl check after the sed script to double-check the generated script is correct.

Also, the certificate files were being saved as *.pem instead of *.crt, and the domain private keys weren't being extracted. I corrected that.

Finally, I cannot for the life of me get the openssl script to work (openssl rsa -inform etc.). If someone can confirm it works for them, I'll just write it off to me being dumb.

Copy link
Contributor

@nmengin nmengin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ldez ldez added this to the 1.5 milestone Sep 22, 2017
@traefiker traefiker merged commit fc550ac into traefik:master Sep 22, 2017
@sjawhar sjawhar deleted the patch-1 branch September 22, 2017 21:40
@ldez ldez changed the title Dumpcerts.sh: fixed sed, extracted domain keys dumpcerts.sh: fixed sed, extracted domain keys Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants