Hello, I tried to create my own module challenger acme-dns-01 for ovh #1

已關閉
建立於 2019-11-21 20:10:46 +00:00 由 Ghost · 6 comment

Hello, I tried to create my own module challenger acme-dns-01 for ovh.

  • greenlock.manager.defaults data
{
  agreeToTerms: true,
  subscriberEmail: 'my-mail',
  challenges: {
    "dns-01": my_module_create_function({})
  }
}
  • console ouput
Could not load 'undefined'
Did you install it?
	npm install --save undefined
Error load_plugin:
The "id" argument must be of type string. Received type undefined
code: ERR_INVALID_ARG_TYPE
TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Module.require (internal/modules/cjs/loader.js:845:3)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.P._loadHelper (/var/node/router/node_modules/@root/greenlock/plugins.js:29:32)
    at Object.P._loadChallenge (/var/node/router/node_modules/@root/greenlock/plugins.js:18:14)
    at /var/node/router/node_modules/@root/greenlock/greenlock.js:477:38
    at Array.map (<anonymous>)
    at /var/node/router/node_modules/@root/greenlock/greenlock.js:476:53
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async getSsl (/var/node/router/index.js:120:18)
TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Module.require (internal/modules/cjs/loader.js:845:3)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.P._loadHelper (/var/node/router/node_modules/@root/greenlock/plugins.js:29:32)
    at Object.P._loadChallenge (/var/node/router/node_modules/@root/greenlock/plugins.js:18:14)
    at /var/node/router/node_modules/@root/greenlock/greenlock.js:477:38
    at Array.map (<anonymous>)
    at /var/node/router/node_modules/@root/greenlock/greenlock.js:476:53
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async getSsl (/var/node/router/index.js:120:18) {
  code: 'ERR_INVALID_ARG_TYPE',
  context: 'load_plugin',
  toJSON: [Function: errorToJSON],
  subject: 'my-domain-name',
  servername: 'my-domain-name',
  _site: {
    subject: 'my-domain-name',
    altnames: [ 'my-domain-name' ],
    renewAt: 1
  }
}
Hello, I tried to create my own module challenger acme-dns-01 for ovh. - greenlock.manager.defaults data ```js { agreeToTerms: true, subscriberEmail: 'my-mail', challenges: { "dns-01": my_module_create_function({}) } } ``` - console ouput ```console Could not load 'undefined' Did you install it? npm install --save undefined Error load_plugin: The "id" argument must be of type string. Received type undefined code: ERR_INVALID_ARG_TYPE TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type undefined at validateString (internal/validators.js:112:11) at Module.require (internal/modules/cjs/loader.js:845:3) at require (internal/modules/cjs/helpers.js:74:18) at Object.P._loadHelper (/var/node/router/node_modules/@root/greenlock/plugins.js:29:32) at Object.P._loadChallenge (/var/node/router/node_modules/@root/greenlock/plugins.js:18:14) at /var/node/router/node_modules/@root/greenlock/greenlock.js:477:38 at Array.map (<anonymous>) at /var/node/router/node_modules/@root/greenlock/greenlock.js:476:53 at processTicksAndRejections (internal/process/task_queues.js:93:5) at async getSsl (/var/node/router/index.js:120:18) TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received type undefined at validateString (internal/validators.js:112:11) at Module.require (internal/modules/cjs/loader.js:845:3) at require (internal/modules/cjs/helpers.js:74:18) at Object.P._loadHelper (/var/node/router/node_modules/@root/greenlock/plugins.js:29:32) at Object.P._loadChallenge (/var/node/router/node_modules/@root/greenlock/plugins.js:18:14) at /var/node/router/node_modules/@root/greenlock/greenlock.js:477:38 at Array.map (<anonymous>) at /var/node/router/node_modules/@root/greenlock/greenlock.js:476:53 at processTicksAndRejections (internal/process/task_queues.js:93:5) at async getSsl (/var/node/router/index.js:120:18) { code: 'ERR_INVALID_ARG_TYPE', context: 'load_plugin', toJSON: [Function: errorToJSON], subject: 'my-domain-name', servername: 'my-domain-name', _site: { subject: 'my-domain-name', altnames: [ 'my-domain-name' ], renewAt: 1 } } ```
Ghost 關閉了這個問題 2019-11-21 20:12:44 +00:00
Ghost started working 2019-11-21 20:13:40 +00:00
Ghost canceled time tracking 2019-11-21 20:13:57 +00:00
作者

Sorry my bad this ticket is in the wrong place, can you delete him please?

Sorry my bad this ticket is in the wrong place, can you delete him please?
作者

I made this ticket for nothing I didn’t pay attention to the documentation. sorry

I made this ticket for nothing I didn’t pay attention to the documentation. sorry
擁有者

Take a look at https://git.rootprojects.org/root/acme-dns-01-ovh.js

The documentation is for v2, but if you follow the v3/v4 documentation instead, it should work just fine.

I haven't tested it myself yet, it may still need some adjustments, but it should get you 99% of the way there.

Take a look at https://git.rootprojects.org/root/acme-dns-01-ovh.js The documentation is for v2, but if you follow the v3/v4 documentation instead, it should work just fine. I haven't tested it myself yet, it may still need some adjustments, but it should get you 99% of the way there.
作者

Great thanks, I didn’t see him.

Great thanks, I didn’t see him.
作者

Sorry but,

 'acme-dns-01-ovh@3.x' is not in the npm registry.
Sorry but, ```console 'acme-dns-01-ovh@3.x' is not in the npm registry. ```
作者

Work with:

npm install --save git+https://git@git.rootprojects.org/root/acme-dns-01-ovh.js.git
Work with: ```console npm install --save git+https://git@git.rootprojects.org/root/acme-dns-01-ovh.js.git ```
登入 才能加入這對話。
未選擇標籤
2 參與者
通知
截止日期
未設定截止日期。
先決條件

未設定先決條件。

參考: root/acme-http-01-standalone.js#1
No description provided.