Mobile app version of vmapp.org
Login or Join
Kaufman445

: Configure webapp on PWS to use SSL Service rather than HTTP I have an application running on Pivotal Web Services that has 2 Front End components. I have added the Pivotal SSL Service and

@Kaufman445

Posted in: #Cname #Https #Namecheap

I have an application running on Pivotal Web Services that has 2 Front End components. I have added the Pivotal SSL Service and added a wildcard SSL certificate for my domain mysite.io and was given an "SSL Alias" that I was told to use in my registrar. My SSL Alias is : mysite.io-353e6df7.ssl.run.pivotal.io.

I have followed the instructions and put the CName value in my registrar (Namecheap), but the URL still goes to a non-ssl domain. I am trying to access my UAA instance via SSL for example. Here it is defined with the non-ssl wildcard CName entry and my CName entry for SSL.



How do I get *.uaa.mysite.io to be over HTTPS?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kaufman445

1 Comments

Sorted by latest first Latest Oldest Best

 

@Smith883

Try adding this to your .htaccess file to redirect to https

RewriteCond %{SERVER_PORT} =80
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ %{HTTP_HOST}%{REQUEST_URI} [R=301,L]

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme