Home Change Grails 3 URL to HTTPS
Reply: 0

Change Grails 3 URL to HTTPS

user782
1#
user782 Published in June 19, 2018, 2:30 pm

I have setup SSL within my Grails 3.3 application as follows and it works appropriately.

environments:
    development:
        server:
                port: 8443
                ssl:
                  enabled: true
                  key-store: './localkeystore'
                  key-store-password: 'localonly'
                  key-password: 'localonly'

However, I have to manually change the URL to https in the browser. I am using IntelliJ IDEA to deploy locally with the Gradle bootRun command. The deployment log shows the URL upon deployment as unsecure. How can I change this URL to https?

Grails application running at http://localhost:8080/application in environment: development

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.506755 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO