hysteria
hysteria copied to clipboard
`failed to find any PEM data in certificate input` due to incorrect timing of keypairLoader.load()
May 10 12:52:45 localhost acme.sh[387]: [Tue May 10 12:52:45 PM CST 2022] Polling order status: https://acme.zerossl.com/v2/DV90/order/[MASKED]
May 10 12:52:49 localhost acme.sh[387]: [Tue May 10 12:52:49 PM CST 2022] Downloading cert.
May 10 12:52:49 localhost acme.sh[387]: [Tue May 10 12:52:49 PM CST 2022] Le_LinkCert='https://acme.zerossl.com/v2/DV90/cert/[MASKED]'
May 10 12:52:54 localhost hysteria[398]: 2022-05-10T12:52:54+08:00 [ERRO] [error:tls: failed to find any PEM data in certificate input] Failed to reload keypair
May 10 12:52:54 localhost acme.sh[2150]: Certificate:
May 10 12:52:54 localhost acme.sh[2150]: Data:
May 10 12:52:54 localhost acme.sh[2150]: Version: 3 (0x2)
The cert was eventually reloaded successfully, so the error can be totally avoid by right timing i assume?
Is this caused by acme.sh "touching" the cert file but not writing the content immediately?
i see. any option to disable the hot reload so i can manage this myself?