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

CA Certs included are Expired #50

Open
KodirovR opened this issue Jun 20, 2024 · 4 comments
Open

CA Certs included are Expired #50

KodirovR opened this issue Jun 20, 2024 · 4 comments

Comments

@KodirovR
Copy link

I have a similar issue which was written here #25, and maked all the steps which were provided to resolve, but at the end i have such error after disabling ssl check

ipa-certupdate

Connect error: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed (certificate has expired)
The ipa-certupdate command failed.
ipa --version
VERSION: 4.9.13, API_VERSION: 2.251

in the docekrfile with image Centos-8-stream

@samuelemusiani
Copy link

samuelemusiani commented Jul 23, 2024

Same, and I've no idea how to solve that. Did you manage to get it working?

@rcritten
Copy link

The quickest fix would be to go back in time to when the certificates were still valid. ipactl restart.

Then try this patch #49

@samuelemusiani
Copy link

I tried to re-run the scripts and using the new script in #49 but it did not resolve the issue.
I dind't try to go back in time.

But i found a solution! Ipa didn't have the full certificate chain for Let's Encrypt, so even though the browser was connecting correctly at the webui, the curl command was failing. My solution was to add the R10 and R11 certificates in the /etc/ipa/ca.crt file and restart httpd. After that everything started working correctly again.

Hope it could be helpful to someone.

@l8nites
Copy link

l8nites commented Sep 17, 2024

I wish the intermediate certs weren't pinned. I refactored the setup script for myself based on comments from #49 but still couldn't achieve usable certificates.

Also stated as:
The mentality regarding pinning LetsEncrypt certs into the script is appalling. This project is a complete waste of effort until that's resolved.

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