修改ssl证书配置
This commit is contained in:
parent
e9f6a219c6
commit
39f397fd70
|
@ -9,7 +9,7 @@ import org.springframework.context.annotation.Profile;
|
|||
* @author xy
|
||||
* Springdoc OpenAPI 配置
|
||||
*
|
||||
* https://localhost:9999/api/swagger-ui/index.html 接口文档地址
|
||||
* http://localhost:6448/api/swagger-ui/index.html 接口文档地址
|
||||
*/
|
||||
@Configuration
|
||||
@Profile({"dev", "test"}) // 版本控制访问
|
||||
|
|
|
@ -41,16 +41,14 @@ spring:
|
|||
knife4j:
|
||||
enable: true
|
||||
server:
|
||||
port: 9999
|
||||
port: 6448
|
||||
servlet:
|
||||
context-path: /api
|
||||
session:
|
||||
timeout: 86400s
|
||||
#证书
|
||||
ssl:
|
||||
key-store: classpath:cert/ssl/xiaokuaisong.shop.jks
|
||||
key-store-password: 12m6b1c5
|
||||
key-store-type: JKS
|
||||
enabled: false
|
||||
mybatis-plus:
|
||||
configuration:
|
||||
map-underscore-to-camel-case: false
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user