`

resin3 pro 下配置 jsse-ssl 的问题

 
阅读更多

从ca中心获得设备证书,根证书,导入服务器以后。修改 conf下的 resin.xml
jsse-ssl 配置
<http address="*" port="8443">
        <jsse-ssl>
           <key-store-type>jks</key-store-type>
           <key-store-file>keys/server.keystore</key-store-file>
           <password>123456</password>
        </jsse-ssl>
      </http>

 

openssl 配置

 

     - SSL port configuration:
         -
         - <http address="*" port="8443">
         -   <openssl>
         -     <certificate-file>keys/gryffindor.crt</certificate-file>
         -     <certificate-key-file>keys/gryffindor.key</certificate-key-file>
         -     <password>test123</password>
         -   </openssl>
         - </http>

 

 

 

 

 

 

 

 

请设置resin打循环日志,保留15天的日志就可以了:

 

<log name="" level="info" path="../log/jvm-default.log"
       timestamp="[%H:%M:%S.%s] {%{thread}} "
       rollover-period="1d" rollover-count="15"/>

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics