SSL,Tomcat和Grails [英] SSL, Tomcat and Grails
本文介绍了SSL,Tomcat和Grails的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Grails中实现SSL。我在Grails文件夹结构中找不到文件/conf/server.xml。有没有人实现过它?
I want to implement SSL in Grails. I cannot find the file /conf/server.xml in Grails folder structure. Has anyone implemented it?
任何帮助都非常感谢。
推荐答案
你可以运行 grails run-app -https
而不是 grails run-app
,它会创建一个自签名证书,并运行在SSL中。
You can run grails run-app -https
instead of grails run-app
and it will create a self-signed certificate for you and run in SSL.
这篇关于SSL,Tomcat和Grails的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文