Skip to content
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.

Re-create new certificate #26

Open
radu81 opened this issue Jan 21, 2017 · 3 comments
Open

Re-create new certificate #26

radu81 opened this issue Jan 21, 2017 · 3 comments

Comments

@radu81
Copy link

radu81 commented Jan 21, 2017

Hello and thanks for this script, it works great but I did something wrong: I have 3 domains hosted on the same vps, last month I added a certificate for every domain and everything went fine. I setup two of my domains using ssl. Today I wanted to add a certificate for the third domain but I forgot I already created one certificate last month so I started the script. I end up with all 3 domains not reachble.
I deleted the third domain .ssl.conf and webistes are reachable again.

I would like to know how could I solve this? I would like to use an ssl certificate for all my 3 domains.
thank you in advance

@radu81
Copy link
Author

radu81 commented Jan 24, 2017

nobody ?

@lesaff
Copy link
Owner

lesaff commented Jan 29, 2017

Are you on Ubuntu 14.04 or 16.04?

If on 16.04, try this
certbot -d example.org,www.example.org,another.example.org --expand

You might need to edit your nginx conf file to add the additional domain names yourself

@radu81
Copy link
Author

radu81 commented Jan 30, 2017

Thanks for your answer, I am using Ubuntu 16.04, and I am getting a "command not found" error when running the command above. Should I run it from a specific directory? Thank you

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

No branches or pull requests

2 participants