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

use self-signed cert for argocd server #352

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

nabuskey
Copy link
Collaborator

@nabuskey nabuskey commented Aug 2, 2024

Currently ArgoCD does not use our cert. This PR changes that. This allows services that want to communicate with ArgoCD to do so without disabling TLS verification all together (still need to import the cert).

$ openssl s_client -showcerts -servername argocd.cnoe.localtest.me -connect argocd.cnoe.localtest.me:8443 </dev/null | openssl x509 -text | grep 'Subject Alternative Name' -A 1

            X509v3 Subject Alternative Name:
                DNS:cnoe.localtest.me, DNS:*.cnoe.localtest.me

@jessesanford jessesanford self-requested a review August 3, 2024 14:27
Copy link
Contributor

@jessesanford jessesanford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -25,12 +25,32 @@ import (
)

const (
certificateOrgName = "cnoe.io"
certificateOrgName = "cnoe.io"
certificateValidLength = time.Hour * 8766
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really a big deal, but maybe we could shorten this? I feel like folks will not be keeping builder clusters up for more than weeks, but just in case we should flag the need to rotate these carts sooner?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we can shorten it. Will follow up with another PR.

@nabuskey nabuskey merged commit 71fefc7 into cnoe-io:main Aug 5, 2024
5 checks passed
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 this pull request may close these issues.

2 participants