GCP SSL Certificates
Here’s how to create a regional SSL Certificate.
<pre lang="bash">
gcloud compute ssl-certificates create my-ssl-cert \
--description "describe ssl certificate" \
--domains=domain1.com,domain2.com \
--certificate=cert.pem \
--private-key=private.key \
--region=us-central1
List the SSL certificates.
<pre lang="bash">
gcloud compute ssl-certificates list --project=project-id
Describe the SSL certificate.
<pre lang="bash">
gcloud compute ssl-certificates describe my-ssl-cert \
--region=us-central1 \
--project=project-id
Delete SSL certificate.
<pre lang="bash">
gcloud compute ssl-certificates delete my-ssl-cert \
--region=us-central1 \
--project=project-id