diff options
-rw-r--r-- | macir.rb | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -220,6 +220,7 @@ end def wait_for_challenge_validation(challenge, cert_name) p 'Requesting validation of challenge' + p challenge.object_id acme_request_with_retries { challenge.request_validation } while challenge.status == 'pending' @@ -564,7 +565,7 @@ end certs.each_pair do |cert, opts| order_authorizations = acme_request_with_retries { opts['order'].authorizations } order_authorizations.each do |auth| - pp auth + # pp auth # pp auth.domain # pp auth.challenges # pp auth.url @@ -597,12 +598,13 @@ propagation_threads.each(&:join) validation_threads = {} domain_attrs.each_pair do |d, attrs| # domain_attrs[d][:auth_thread] = Thread.new(attrs) do |attrs| - validation_threads[d] = Thread.new(attrs) do |attrs| + # validation_threads[d] = Thread.new(attrs) do |attrs| # wait_for_challenge_validation(auth.domain, auth.dns01) # pp auth.dns01 # pp auth.dns01 + # p attrs['auth'].object_id wait_for_challenge_validation(attrs['auth'].dns01, attrs['auth'].domain) - end + # end # validation_threads[d] = domain_attrs[d][:auth_thread] end |