Error: options.newRegUrl must be the a new registration url #1

Open
opened 2018-05-11 10:42:59 +00:00 by Ghost · 3 comments




====================================================================
==                     greenlock.js (v2.2.0+)                     ==
====================================================================

Please specify 'version' option:

        'v01' for Let's Encrypt v1
                 or
        'draft-11' for Let's Encrypt v2 and ACME draft 11
        ('v02' is an alias of 'draft-11'

====================================================================
==      this will be required from version v2.3 forward           ==
====================================================================



This Let's Encrypt / ACME server is missing urls that this client may need.
{ keyChange: 'https://acme-v02.api.letsencrypt.org/acme/key-change',
  meta: 
   { caaIdentities: [ 'letsencrypt.org' ],
     termsOfService: 'https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf',
     website: 'https://letsencrypt.org' },
  newAccount: 'https://acme-v02.api.letsencrypt.org/acme/new-acct',
  newNonce: 'https://acme-v02.api.letsencrypt.org/acme/new-nonce',
  newOrder: 'https://acme-v02.api.letsencrypt.org/acme/new-order',
  revokeCert: 'https://acme-v02.api.letsencrypt.org/acme/revoke-cert',
  'uoK-1g6GWCI': 'https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417' }
[Error]: greenlock-cli
Error: options.newRegUrl must be the a new registration url
    at Object.registerNewAccount (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/le-acme-core/lib/register-new-account.js:122:10)
    at Object.tryCatcher (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Object.ret [as registerNewAccountAsync] (eval at makeNodePromisifiedEval (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:13:39)
    at /root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/greenlock/lib/core.js:91:30
    at tryCatcher (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:693:18)
    at Promise._fulfill (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:638:18)
    at Promise._resolveCallback (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:432:57)
    at Promise._settlePromiseFromHandler (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:524:17)
    at Promise._settlePromise (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:693:18)
    at Promise._fulfill (/root/.

```root@ubuntu:~/172.96.227.21# ./letsencrypt.sh ==================================================================== == greenlock.js (v2.2.0+) == ==================================================================== Please specify 'version' option: 'v01' for Let's Encrypt v1 or 'draft-11' for Let's Encrypt v2 and ACME draft 11 ('v02' is an alias of 'draft-11' ==================================================================== == this will be required from version v2.3 forward == ==================================================================== This Let's Encrypt / ACME server is missing urls that this client may need. { keyChange: 'https://acme-v02.api.letsencrypt.org/acme/key-change', meta: { caaIdentities: [ 'letsencrypt.org' ], termsOfService: 'https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', website: 'https://letsencrypt.org' }, newAccount: 'https://acme-v02.api.letsencrypt.org/acme/new-acct', newNonce: 'https://acme-v02.api.letsencrypt.org/acme/new-nonce', newOrder: 'https://acme-v02.api.letsencrypt.org/acme/new-order', revokeCert: 'https://acme-v02.api.letsencrypt.org/acme/revoke-cert', 'uoK-1g6GWCI': 'https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417' } [Error]: greenlock-cli Error: options.newRegUrl must be the a new registration url at Object.registerNewAccount (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/le-acme-core/lib/register-new-account.js:122:10) at Object.tryCatcher (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/util.js:16:23) at Object.ret [as registerNewAccountAsync] (eval at makeNodePromisifiedEval (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promisify.js:184:12), <anonymous>:13:39) at /root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/greenlock/lib/core.js:91:30 at tryCatcher (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:512:31) at Promise._settlePromise (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:693:18) at Promise._fulfill (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:638:18) at Promise._resolveCallback (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:432:57) at Promise._settlePromiseFromHandler (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:524:17) at Promise._settlePromise (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:569:18) at Promise._settlePromise0 (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:614:10) at Promise._settlePromises (/root/.nvm/versions/node/v8.11.1/lib/node_modules/greenlock-cli/node_modules/bluebird/js/release/promise.js:693:18) at Promise._fulfill (/root/. ```
Author

letsencrypt.sh

#!/bin/bash

greenlock certonly --standalone \
  --server 'https://acme-v02.api.letsencrypt.org/directory' \
  --config-dir ~/letsencrypt/etc \
  --agree-tos --domains snowdream.cc --email bandwagonhost@outlook.com
letsencrypt.sh ``` #!/bin/bash greenlock certonly --standalone \ --server 'https://acme-v02.api.letsencrypt.org/directory' \ --config-dir ~/letsencrypt/etc \ --agree-tos --domains snowdream.cc --email bandwagonhost@outlook.com ```
Author

letsencrypt.sh

#!/bin/bash

greenlock certonly --standalone \
  --server 'https://acme-v02.api.letsencrypt.org/directory' \
  --config-dir ~/letsencrypt/etc \
  --agree-tos --domains snowdream.cc --email bandwagonhost@outlook.com
letsencrypt.sh ``` #!/bin/bash greenlock certonly --standalone \ --server 'https://acme-v02.api.letsencrypt.org/directory' \ --config-dir ~/letsencrypt/etc \ --agree-tos --domains snowdream.cc --email bandwagonhost@outlook.com ```
Owner

Thanks, I was actually planning to work on this today. Good timing.

Thanks, I was actually planning to work on this today. Good timing.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coolaj86/greenlock-cli.js#1
No description provided.