0

I am learning to use the Google Apps Engine. My code part as JAVA. In Google Apps Engine I have created one application as http://sampleown.appspot.com. How do I change the URL from http://sampleown.appspot.com to https://sampleown.appspot.com and redirect http and to https. How do I use SSL to avoid http connection. I don't know the concepts of SSL and how to use SSL to avoid http connections.

Give me Any Idea/Sample Code/Guide Me.

Thank You.

1 Answer 1

3

https://developers.google.com/appengine/kb/general

Does Google App Engine support SSL (HTTPS)?

Google App Engine allows you to serve SSL (HTTPS) traffic through your appspot.com domain. Simply add the 'secure' parameter to your app.yaml handler for the URLs through which you wish to support secure traffic. For complete information on how to configure your application for secure traffic, please see the docs on app configuration.

Java documentation: https://developers.google.com/appengine/docs/java/config/webxml#Secure_URLs

Sign up to request clarification or add additional context in comments.

2 Comments

Vivek Thanks. <transport-guarantee>CONFIDENTIAL</transport-guarantee> This code can be written where (specified which part to web.xml/appengine-web.xml)
This goes in the deployment descriptor: war/WEB-INF/web.xml.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.