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

CLI to add custom ssl certificate? #874

Closed
bdf0506 opened this issue Feb 7, 2021 · 3 comments
Closed

CLI to add custom ssl certificate? #874

bdf0506 opened this issue Feb 7, 2021 · 3 comments

Comments

@bdf0506
Copy link

bdf0506 commented Feb 7, 2021

First off, THANK YOU so much to @jc21 for doing this project. It has made life sooooo much easier! I also recognize that there are over 400 issues on this project, so this may never be addressed, but figured I would try.

I use GoDaddy for my DNS, and unfortunately GoDaddy is not currently supported today. So instead, I'm using the dehydrated application to generate my SSL certificates that I need. It auto renews and everything is great.

But, every time my cert expires, I have to manually pull the generated certificate, upload it to nginx proxy manager, and then update the proxy host to use that SSL cert. I see that I can manually place the certificate in the custom_ssl/npm-x folder, where x is the number of the certificate. However, simply adding the file here doesn't do me anything other than getting it onto the filesystem. I also need a way to tell nginx proxy manager that the cert has been added here, so that it can actually be uploaded to the database. Is there any way that I can tell it from the cli to add the new cert to the database? If so, I can then script this up the proper way, hopefully.

@christian-skjetne
Copy link

If you have the certs in the local file system you can maybe use this: #87 (comment) as a workaround for now.

@bdf0506
Copy link
Author

bdf0506 commented Feb 9, 2021

This will work for now! I'll close this out since it seems to be a dupe of #87. Thanks for the pointers.

@bdf0506 bdf0506 closed this as completed Feb 9, 2021
@gomme600
Copy link

Would love this too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants