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