Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 676 Bytes

File metadata and controls

21 lines (11 loc) · 676 Bytes

Outputting Host Certificate

  1. Download cert-output-pod.yaml

  2. Edit cert-output-pod.yaml to add the value of TESTHOST environment variable (mandatory), and optionally TESTPORT if you require port other than 443.

  3. Run the pod:

    kubectl apply -f cert-output-pod.yaml -n <namespace>

    Once the certificate has been retrieved and printed out, the pod exits.

  4. Review the log for the container

    kubectl logs cert-output -n <namespace>

    The log should print out the certificate and openssl log trying to retrieve it, examine the output for any errors.

  5. Cleanup

    kubectl delete -f cert-output-pod.yaml.yaml -n <namespace>