Springboot applet configuration https

Springboot related configuration

server:
  port: 8089
  #ssl
  ssl:
    #证书,可以存放在resoucrs目录下classpath:tomcat.keystore
    key-store: classpath:name.jks
    #别名
    key-alias: 1
    #证书加密方式
    key-store-type: JKS
    #证书密码
    key-store-password: 123456
    #是否开启https
    enabled: true
    enabled-protocols: TLSv1.1,TLSv1.2,TLSv1.3
    ciphers: ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4:!DH:!DHE

Detailed configuration reference: https://blog.csdn.net/sinat_40399893/article/details/79860942

Guess you like

Origin blog.csdn.net/u011582840/article/details/108283783