tomcat https配置https 默认端口443将证书文件放到tomcat/conf目录下修改conf/server.xml 根据具体需求http自动跳转到https。可以在web.xml最后添加