Windows 系统通过 WinSCP 上传文件到 Ubuntu18.04 轻量应用服务器
腾讯Ubuntu18.04轻量应用服务器安装与配置apache-tomcat-8.5.40
- 将下载的证书文件解压,点开
Tomcat
文件夹,将*.jks
文件上传到服务器中/home/develop/tomcat/apache-tomcat-8.5.40/conf
目录下
2. 配置tomcat的server.xml文件
vi /home/develop/tomcat/apache-tomcat-8.5.40/conf/server.xml
打开后我的文件79行后的一部分如下
<!-- Define a SSL/TLS HTTP/1.1 Connector on port 8443
This connector uses the NIO implementation. The default
SSLImplementation will depend on the presence of the APR/native
library and the useOpenSSL attribute of the
AprLifecycleListener.
Either JSSE or OpenSSL style configuration may be used regardless of
the SSLImplementation selected. JSSE style configuration is used below