hungnguyenm / edgemax-acme

Let's Encrypt setup instructions for Ubiquiti EdgeRouter using DNS-01
148 stars 31 forks source link

running 4.14.54-UBNT #1 SMP - error Only RSA or EC key is supported #19

Closed SimonMcN closed 2 years ago

SimonMcN commented 2 years ago

Help Please ?

`[Thu Sep 22 12:54:05 UTC 2022] Executing acme.sh.

[Thu Sep 22 12:54:07 UTC 2022] Using CA: https://acme-v02.api.letsencrypt.org/directory

unable to load Private Key

2012968448:error:0906D06C:PEM routines:PEM_read_bio:no start line:../crypto/pem/pem_lib.c:686:Expecting: ANY PRIVATE KEY

[Thu Sep 22 12:54:07 UTC 2022] Only RSA or EC key is supported. keyfile=/config/scripts/acme/ca/acmev02.api.letsencrypt.org/directory/account.key

[Thu Sep 22 12:54:07 UTC 2022] Please check log file for more details: /var/log/acme.log

[Thu Sep 22 12:54:07 UTC 2022] Starting gui service. `

Cheers :-) Simon

SimonMcN commented 2 years ago

seems like a my bad. I initially ran the script without sudo to root and I think it created folders incorrectly. I cleared sown the folders and it's working fine. Cheers