Setting up HTTPS on an AKS Cluster
Pre-Reqs
The following is required:
- An ingress controller should already be installed.
- The public IP of the Ingress controller should have a DNS name.
- Helm needs to be running at 2.13.1.
- The Kubernetes cluster should be publicly accessible (to allow cert creation)
To check if Helm is running with version 2.13.1 (there is a bug that doesn’t allow 2.14+ to work). To check, run the following:
If the output doesn’t match as below, you need to downgrade Helm. Install:
Procedure
Run the following commands:
Create the following YAML file `cluster-issuer.yml’:
Apply the changes to the cluster:
Create the certificate.yml
file:
Apply those changes:
Verification
Confirm creation of the certificate:
You should see the following:
Verify HTTPS can be accessed.