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

'ipa-server-certinstall -w -d fullchain.pem privkey.pem' throwing error #21

Open
toxynoid opened this issue Jan 3, 2021 · 5 comments
Open

Comments

@toxynoid
Copy link
Contributor

toxynoid commented Jan 3, 2021

With
ipa-server-certinstall -w -d fullchain.pem privkey.pem
I've got following error
The full certificate chain is not present in fullchain.pem, privkey.pem
I instead had success with
ipa-server-certinstall -w -d cert.pem privkey.pem
I'm not sure if my fullchain.pem is broken or if there have been recent changes in certbot.

@antevens
Copy link
Owner

antevens commented Jan 5, 2021

This is due to the recent changes in the intermediate authority and the change to using their own root cert, thx for the bug report.

@dilruacs
Copy link

dilruacs commented Jan 5, 2021

Thank you for acknowledging the problem, but how do we solve this?

@antevens
Copy link
Owner

antevens commented Jan 5, 2021

The workaround is posted above, just use the cert instead of the chain.

@dilruacs
Copy link

dilruacs commented Jan 5, 2021

Thank you, sorry for not reading the report good enough 😊

Edit to add: I am running renew.sh from cron, I suppose this needs to be changed also.

@grossws
Copy link

grossws commented Jan 28, 2021

Workaround from issue itself didn't work for me.

From what I found new Let's Encrypt cert are signed with CN=R3 but chain.pem/fullchain.pem in my case containded only CN=X3 intermediate cert.

When I update with privkey.pem cert.pem lets-encrypt-r3.pem all seems ok.

UPD: I had to add dst-root-x3 root ca since I had le-r3 signed with that CA.

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

4 participants