我是用大神的脚本open***-install.sh一键安装的
(安装命令:wget https://git.io/*** -O open***-install.sh --no-check-certificate && bash open***-install.sh)
安装后客户端启动报错VERIFY ERROR: depth=1, error=cert
导致此问题的原因:当生成的ca证书的有效开始日期(时间)比当前客户机要晚时,会出现类似的错误信息
检查:# timedatectl
通过上诉命令可以看到当前系统的时区、时间等,若不对需要更正后重现安装open***即可
# timedatectl
Local time: Wed 2019-12-25 14:42:13 CST
Universal time: Wed 2019-12-25 06:42:13 UTC
RTC time: Thu 2019-12-26 06:42:13
Time zone: Asia/Shanghai (CST, +0800)
NTP enabled: no
NTP synchronized: no
RTC in local TZ: no
DST active: n/a

附送修改命令:

#timedatectl set-timezone Asia/Shanghai 设置时区
#ntpdate time.windows.com 同步时间
#systemctl enable ntpd 启动时钟同步
#systemctl start ntpd 开启时钟同步服务
#timedatectl set-ntp true 时区开启同步