zhukexingkong edited a comment on issue #6429:
URL: https://github.com/apache/apisix/issues/6429#issuecomment-1049437407
1. Prepare a Springboot service
2. Enable TLS, prepare server.p12 and client.p12, and use client.p12 to
generate the client.cer, server.p12 trusts the client.cer
3. Sprintboot enable TLS configuration:
server:
port: 8090
ssl:
## 服务端配置
key-store-type: PKCS12
key-store: classpath:key/server.p12
key-store-password: 123456
key-alias: server
protocol: TLS
enabled-protocols: TLSv1.2
## 客户端配置
client-auth: NEED
trust-store: classpath:key/server.p12
trust-store-password: 123456
trust-store-type: JKS
trust-store-provider: SUN
Reference: < https://blog.csdn.net/BlackButton_CC/article/details/99956259 >
4. Create a route using the admin API. For details, see the problem
description, the above problem will then recur.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]