diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index dfb686483f..d9af8c02ed 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -27,9 +27,9 @@ jobs: echo "Downloading FreeIPA CA certificate..." curl -fsSL -o /tmp/ipa-ca.crt https://ipa.kindred.internal/ipa/config/ca.crt - # Verify the certificate is valid + # Verify the certificate is valid (just show subject and dates) echo "Verifying certificate..." - openssl x509 -in /tmp/ipa-ca.crt -text -noout | head -20 + openssl x509 -in /tmp/ipa-ca.crt -subject -dates -noout # Install to system trust store sudo cp /tmp/ipa-ca.crt /usr/local/share/ca-certificates/ipa-ca.crt @@ -40,7 +40,7 @@ jobs: # Verify SSL connection to Gitea works echo "Testing SSL connection to Gitea..." - curl -fsSL --cacert /tmp/ipa-ca.crt https://gitea.kindred.internal/api/v1/version + curl -fsSL https://gitea.kindred.internal/api/v1/version echo "" echo "SSL certificate setup complete" diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 55e0fdb9e9..c3047fa971 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -35,9 +35,9 @@ jobs: echo "Downloading FreeIPA CA certificate..." curl -fsSL -o /tmp/ipa-ca.crt https://ipa.kindred.internal/ipa/config/ca.crt - # Verify the certificate is valid + # Verify the certificate is valid (just show subject and dates) echo "Verifying certificate..." - openssl x509 -in /tmp/ipa-ca.crt -text -noout | head -20 + openssl x509 -in /tmp/ipa-ca.crt -subject -dates -noout # Install to system trust store sudo cp /tmp/ipa-ca.crt /usr/local/share/ca-certificates/ipa-ca.crt @@ -48,7 +48,7 @@ jobs: # Verify SSL connection to Gitea works echo "Testing SSL connection to Gitea..." - curl -fsSL --cacert /tmp/ipa-ca.crt https://gitea.kindred.internal/api/v1/version + curl -fsSL https://gitea.kindred.internal/api/v1/version echo "" echo "SSL certificate setup complete"