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

make auto-pki command waits forever #286

Closed
Zandor300 opened this issue Jul 9, 2024 · 4 comments · Fixed by #290
Closed

make auto-pki command waits forever #286

Zandor300 opened this issue Jul 9, 2024 · 4 comments · Fixed by #290

Comments

@Zandor300
Copy link

Zandor300 commented Jul 9, 2024

The make auto-pki waits forever since the output it waits for is different than in reality.

My openBalena version commit hash: 8174992

My output:

open-balena-cert-manager-1  | /certs/private/mydomain.com-chain.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  | /certs/export/chain.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=CN = mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, O = Let's Encrypt, CN = R11
open-balena-cert-manager-1  | /certs/private/root-ca.mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Root CA 0
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Root CA 0
open-balena-cert-manager-1  | /certs/private/ca-bundle.mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Root CA 0
open-balena-cert-manager-1  | /certs/private/mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  | /certs/private/api.mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = api.mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  | /certs/private/mydomain.com-chain.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  | /certs/private/server-ca.mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Root CA 0
open-balena-cert-manager-1  | /certs/private/vpn.mydomain.com.pem Certificate will not expire in 7 days
open-balena-cert-manager-1  |   subject=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = vpn.mydomain.com
open-balena-cert-manager-1  |   issuer=C = US, ST = Washington, L = Seattle, O = balena, OU = openBalena, CN = balena Server CA 0
@ab77
Copy link
Contributor

ab77 commented Jul 9, 2024

the relevant bits it is waiting for are here

...
open-balena-cert-manager-1  |   issuer=C = US, O = Let's Encrypt, CN = R11

.. but it's looking for R3:

	@$(MAKE) waitlog SERVICE=cert-manager LOG_STRING="issuer=C = US, O = Let's Encrypt, CN = R3"

Let's relax the regex..

@ab77
Copy link
Contributor

ab77 commented Jul 9, 2024

#290

@ab77
Copy link
Contributor

ab77 commented Jul 9, 2024

@Zandor300 let me know if your issue is fixed when you get a chance..

@ab77
Copy link
Contributor

ab77 commented Jul 23, 2024

Please reopen if this is still a problem.

@ab77 ab77 closed this as completed Jul 23, 2024
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

Successfully merging a pull request may close this issue.

2 participants