【 TiDB 使用环境】测试
【 TiDB 版本】6.5.0
【复现路径】
【遇到的问题:问题现象及影响】
yaml配置文件部分:
pd_servers:
- host: 2.2.2.2
data_dir: “/cache/pd-data”
config:
schedule.max-merge-region-size: 20
schedule.max-merge-region-keys: 200000
client-urls: “https://2.2.2.2:2379”
advertise-client-urls: “https://2.2.2.2:2379”
peer-urls: “https://2.2.2.2:2380”
advertise-peer-urls: “https://2.2.2.2:2380”
log.level: “debug”
security:
cert-allowed-cn: [“tikv.cn”]
cacert-path: “/usr/local/tikv/etc/root.crt”
cert-path: “/usr/local/tikv/etc/tikv.crt”
key-path: “/usr/local/tikv/etc/tikv.key”
tikv_servers:
- host: 1.1.1.1
port: 20160
status_port: 20180
deploy_dir: “/usr/local/tikv/tikv-20160”
log_dir: “/usr/local/tikv/tikv-20160/log”
data_dir: “/cache/tikv-data/tikv-20160”
config:
security:
cert-allowed-cn: [“tikv.cn”]
ca-path: “/usr/local/tikv/etc/root.crt”
cert-path: “/usr/local/tikv/etc/tikv.crt”
key-path: “/usr/local/tikv/etc/tikv.key”
使用tiup部署命令:echo Yes|tiup cluster deploy test_cluster v6.5.0 /etc/test.yaml --user tikv -i /tmp/key
pd启动无法使用https如图:还是http
pd错误日志截图:
各位大神帮忙看看配置有没有问题,为什么无法启用https。