You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"level":50,"time":1595942893309,"pid":16805,"hostname":"ip-xxx-xx-xxx-xx","name":"redbird","code":"ERR_INVALID_ARG_TYPE","msg":"Error registering LetsEncrypt certificates","stack":"TypeError [ERR_INVALID_ARG_TYPE]: The \"data\" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined\n at writeFile (fs.js:1385:5)\n at internal/util.js:297:30\n at new Promise (<anonymous>)\n at writeFile (internal/util.js:296:12)\n at Object.stageAsync (/home/ubuntu/proxy/node_modules/safe-replace/index.js:65:14)\n at Object.writeFileAsync (/home/ubuntu/proxy/node_modules/safe-replace/index.js:57:18)\n at /home/ubuntu/proxy/node_modules/le-store-certbot/index.js:288:19","type":"Error","v":1}
{"level":30,"time":1595942893309,"pid":16805,"hostname":"ip-xxx-xx-xxx-xx","name":"redbird","msg":"Could not get any certs for api.someurl.com","v":1}
What is the data argument? Why is it undefined? Am I meant to create the certificates manually? The certs directory exists, and looks as I'd expect for ACME.
I would imagine it's just a case that le-store-certbot hasn't been touched in years, and the world of https has changed, and bundles are now a null response, which trips up the certbot-store.
I haven't checked if changing redbird over to le-store-fs will fix the issue, so if you want to check it and put in a pull request I'll let you have the claim to fame
for reference, redbird now registers https for me and is working as expected :)
Getting the following errors:
from the following configuration:
What is the
data
argument? Why is itundefined
? Am I meant to create the certificates manually? Thecerts
directory exists, and looks as I'd expect for ACME.node: v14.5.0
npm: 6.14.5
package.json
:Tested with node 10.22.0, 12.18.3, and latest. No success
The text was updated successfully, but these errors were encountered: