groovy - How to force Grails to use a signed certificate with run-app or run-war -


Even after adding this code to Config.groovy , Grails on its own signed usage Emphasis certificate:

  grails.tomcat.truststorePath = "$ {grailsSettings.baseDir} /conf/ssl/truststore.jks" grails.tomcat.truststorePassword = "changeit" grails.tomcat ClientAuth = "want" grails.tomcat.keystorePath = "$ {grailsSettings.baseDir} /conf/ssl/keystore.jks" grails.tomcat.keystorePassword = "changeit" grails.tomcat.keyAlias ​​= "localhost"  

Any ideas how to force Grails to use actual keystore?

Obviously, put one of these settings in Config.groovy . They are included in BuildConfig.groovy . Once I put them in BuildConfig.groovy , everything worked for me.


Comments

Popular posts from this blog

c# - NewtonSoft JArray - how to select multiple elements with LINQ -

c# - Process.Kill() returns access denied -

c# - Using the generic type 'System.Collections.Generic.List<T>' requires 1 type arguments -