edge加密

2019-03-26  本文已影响0人  Nejore

1.加密方式简述
通过命令可以获取支持的三种加密方式

oc help create route
#edge:通过路由实现访问加密,客户端访问pod这段路由加密
#passthourgh:通过服务本身实现加密
#reencrypt:在edge的基础上再加一层加密,在pod与服务之间再用另一种加密

2.创建加密

oc create route edge name --service=myapp --cert=/the/path/to/cert --key=/the/path/to/key

3.验证生效

oc get route
curl -k https://xxxx.xxx
上一篇 下一篇

猜你喜欢

热点阅读