jetty maven https(SSL)配置
来源:互联网 发布:高斯算法如何确定项数 编辑:程序博客网 时间:2024/06/07 16:29
1.生成keystore
keytool -genkey -keystore "D:\cas\4.2\tlk_tomcat.keystore" -alias tlkTomcat -keyalg RSA
密钥库口令和密钥密码我设置的tlktest,一会maven pom.xml配置需要使用
2.配置pox.xml
<plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>8.1.16.v20140903</version> <configuration> <stopPort>9966</stopPort> <stopKey>foo</stopKey> <scanIntervalSeconds>5</scanIntervalSeconds> <webApp> <contextPath>/</contextPath> </webApp> <connectors> <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> <port>8080</port> <maxIdleTime>60000</maxIdleTime> </connector> <connector implementation="org.eclipse.jetty.server.ssl.SslSelectChannelConnector"> <port>8443</port> <password>tlktest</password> <keystore>D:/cas/4.2/tlk_tomcat.keystore</keystore> </connector> </connectors> </configuration></plugin>
3.启动项目 jetty:run,然后访问https://ip:8443/项目名即可
阅读全文
0 0
- jetty maven https(SSL)配置
- maven jetty https配置
- maven jetty https配置
- Jetty下SSL配置
- jetty tomcat 配置ssl
- Jetty ssl配置
- Jetty下SSL配置
- jetty nginx 配置https
- jetty下配置https
- jetty-ssl.xml文件配置
- maven jetty配置
- maven:jetty 配置 NoClassDefFoundError
- maven jetty配置
- Maven Jetty插件配置
- maven配置jetty
- idea maven jetty 配置
- Maven 配置Jetty
- TOMCAT SSL 双向认证配置(HTTPS)
- 大话Ceph -- RBD那点事儿
- 论文阅读:《Associative Embedding:End-to-End Learning for Joint Detection and Grouping》
- Android View的绘制流程
- SQL Server的数据定义和更新
- UVa11361
- jetty maven https(SSL)配置
- spring bean parent 属性浅析
- 【python】windows环境安装flash框架
- 图像处理数据集的准备
- iOS网络操作基础
- java.util 包(时间、集合框架)
- PAT1001 害死人不偿命的(3n+1)JAVA
- 人工智能:用爬山法、模拟退火算法实现八皇后和八数码问题
- web前端开发中关于面向对象(一)