This commit is contained in:
2024-07-31 23:30:21 -04:00
parent 0a857f8de4
commit e38504457c
5 changed files with 91 additions and 46 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class LetsEncrypt{
static AcmeClient = AcmeClient;
constructor(options){
this.loadAccountKey(options.accountKeyPath || '~/le_key', (key)=>{
this.loadAccountKey(options.accountKeyPath || './le_key.cert', (key)=>{
this.client = new AcmeClient.Client({
directoryUrl: options.directoryUrl || AcmeClient.directory.letsencrypt.production,
accountKey: key,