I want to set the SSL certificate used by a GCP target SSL proxy using the api call that looks like:
https://www.googleapis.com/compute/v1/projects/{project}/global/targetSslProxies/{resourceId}/setSslCertificates
However, this call requires an sslCertificate argument in the request body, and this is described as a string which contains:
"New set of URLs to SslCertificate resources to associate with this TargetSslProxy. Currently exactly one ssl certificate must be specified."
But I can't find where it explains what a "URL to SslCertificate" looks like. If you use the certificate name in GCP, it gives a malformed URL error.
Does anyone know what this URL is supposed to look like?
I’m reading about your issue, i think you are setting pp SSL Proxy Load Balancing.
The official documentation to create an SSL Proxy Load Balancer is very complete, for my part I have completed all instructions and it works well.
It’s probably you are talking about this section “Configure your SSL certificate resources”.
You can create the self-signed certificates using this page “Working with self-managed SSL certificates”, before create an SSL Certificate.
Regards.