Let's encrypt certificate copy #7779
arduin0guru
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
How can I copy Let's Encrypt certificate generated by CertBoat??
I received 4 files cert.pem, chain.pem, fullchain.pem, privkey.pem.
I copied fullchain.pem to meshagent-Data\webserver-cert-public.crt
and privkey.pem to meshagent-Data\webserver-cert-private.key.
After that, the server would not boot, giving an error as bellow.
XX\MeshCentral\node_modules\meshcentral\node_modules\node-forge\lib\x509.js:1316
throw new Error('Cannot read public key. OID is not RSA.');
^
Error: Cannot read public key. OID is not RSA.
at pki.certificateFromAsn1 (XX\MeshCentral\node_modules\meshcentral\node_modules\node-forge\lib\x509.js:1316:11)
at pki.certificateFromPem (XX\MeshCentral\node_modules\meshcentral\node_modules\node-forge\lib\x509.js:822:14)
at obj.GetMeshServerCertificate (XX\MeshCentral\node_modules\meshcentral\certoperations.js:1164:49)
at CreateMeshCentralServer.obj.StartEx2 (XX\MeshCentral\node_modules\meshcentral\meshcentral.js:1756:35)
at Server. (XX\MeshCentral\node_modules\meshcentral\redirserver.js:146:13)
at Object.onceWrapper (node:events:638:28)
at Server.emit (node:events:536:35)
at emitListeningNT (node:net:1980:10)
at process.processTicksAndRejections (node:internal/process/task_queues:89:21)
What is missing or wrong?
I was using builtin letsencrypt but we don't want to open 80 port. Now we are using DNS challenge to get a certificate
Beta Was this translation helpful? Give feedback.
All reactions