|
|
在两次忘记续期 SSL 证书后, 我写了个阿里云 SSL 证书自动续期程序
试运行出现了错误,大佬,这个是什么原因的错误
AliyunCertRenew fersion 71cae54
time="2024-09-03T06:57:44Z" level=info msg="AliyunCertRenew starting..."
time="2024-09-03T06:57:44Z" level=info msg="Domains to check: [***]"
time="2024-09-03T06:57:44Z" level=info msg=">>> Checking ***"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x73c6a6]
goroutine 1 [running]:
main.GetBasicInfo(0xc00013a300, {0xc000032067, 0x11})
/home/runner/work/AliyunCertRenew/AliyunCertRenew/main.go:61 +0x386
main.main()
/home/runner/work/AliyunCertRenew/AliyunCertRenew/main.go:248 +0x2df
Error: Process completed with exit code 2. |
|