SSL、Tomcat 和 Grails [英] SSL, Tomcat and Grails

查看:28
本文介绍了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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆