I think my problem is the same as this one: (sorry for the duplicate)
Google Cloud Platform Bucket: serving content with custom domain over https
But, here my settings.
First, I created a custom subdomain : cdn.domain.com to have a SSL certificat. (to use it after)
I created a bucket, named cdn.domain.com
I created a Cloud DNS and add a A record to point to my load balancer's IP
And here is my load balancer configuration:
Http and HTTPS (with my certificat)
- HTTPS certificat
So, is that possible to help me to setting my CDN please ?
https://35.227.242.87/web/build/css/select2.min.css it is unsecure :/
- Change Google IP by my custom domain cdn.domain.com ?
https://cdn.domain.com/web/build/css/select2.min.css is that possible ?
Thank you very much.
35.227.242.87 uses an invalid security certificate. The certificate is only valid for cdn.websurg.com
. But I seecdn.websurg.com
maps to 216.239.36.21 (and a few others), not to 35.227.242.87, so I think that's (at least part of) your problem. – Dan Cornilescu