letsencrypt::Client method getAPIurls (protected)
<instance of letsencrypt::Client> getAPIurls config
Defined in /usr/local/ns/tcl/letsencrypt/letsencrypt-procs.tcl
- Parameters:
- config (required)
- Testcases:
- No testcase defined.
Source code: set url [dict get $config ${:API}] set d [ns_http run $url] set :replyHeaders [dict get $d headers] #:log [:printHeaders ${:replyHeaders}] set :nonce [ns_set iget ${:replyHeaders} "replay-nonce"] set :apiURLs [json::json2dict [dict get $d body]] #:log ":apiURLs ${:apiURLs}" # # key-change keyChange # new-authz # new-cert newOrder? # new-reg newAccount? # revoke-cert revokeCert # newNonce :log [subst {<br> Let's Encrypt URLs (${:API} API):<br> <pre> [:URL keyChange]\n [:URL newNonce]\n [:URL newOrder]\n [:URL newAccount]\n [:URL revokeCert]</pre> }]XQL Not present: Generic, PostgreSQL, Oracle