tags:

views:

28

answers:

2

how can i convert my grails application from http to https under Linux operating system

+2  A: 

What do you mean by "convert"?

You can run the embedded tomcat with HTTPS enabled by adding -https to the run-app command:

grails run-app -https

If you want HTTPS enabled in production then you need to configure your app server to support it.

leebutts
yes i want HTTPS enabled in production. how can i configure my app server to support it. When i try grails run-app -https a message appear that i can't run app as this way. is there another way
mbayloon
you shouldn't be using run-app in production. Build a WAR and deploy it. See other answer for a good link
leebutts
+2  A: 

the configuration depends on what container you are running the application in your production environment. You should be deploying a war to your Production Server not doing a grails run-app -https

here is a stackoverflow question with a configuration for Tomcat.

I am certain you can google around and find proper configuration based on your application server

Aaron Saunders