Home:ALL Converter>secure https with wordpress on google compute engine , cloud sql proxy and cloud SQL

secure https with wordpress on google compute engine , cloud sql proxy and cloud SQL

Ask Time:2018-05-15T21:08:05         Author:Ishwara Bhat

Json Formatter

I am setting up a ecommerce site with following configuration. 1. wordpress on ubuntu on google compute engine VM 2. Database on Cloud SQL in the same google cloud project. Wordpress connects to localhost and is routed to cloud SQL through cloud proxy. It is setup with service account. I am using letsencrypt SSL certificate on the VM. With this, I am getting secure http:// on browser only for wp-admin session. I get info https level only, for the user sessions.

I tried SSL, using wordpress "secure db connection" plugin on top of the cloud proxy. It does not connect. Without this SSL, it gives me only info https level.

Please let me know the following: Is the above configuration (cloud sql proxy for connecting to DB instance. And wordpress on VM with SSL) sufficient ? Is the problem in something else?

anyone successfully did cloud sql proxy with SSL ? or any other way to resolve info https problem?

Author:Ishwara Bhat,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/50351059/secure-https-with-wordpress-on-google-compute-engine-cloud-sql-proxy-and-cloud
yy