acmesmith 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acmesmith/command.rb +2 -1
- data/lib/acmesmith/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7fcd16986fecaf6cb855a668f261f191236f041
|
4
|
+
data.tar.gz: c2995040c1e0681c9322243132e3393399fbbd07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d2ba38ef47edf8b10a960dff3a608221dcc879a279a7713a9fa85f95141f03e67ead6aa227809951fd57b6f44fa04b6567a69c33cad53eef0f83a2f066aae51
|
7
|
+
data.tar.gz: 35aefc2f03da1d5fa3c16858c9000349a2434c7f65cfea6ccffea74fdd36dc5ca6ead77d9f8acea07a94c6167b39889e92ea3fcc65b6eefe2d809d936b04cad7
|
data/lib/acmesmith/command.rb
CHANGED
@@ -81,6 +81,7 @@ module Acmesmith
|
|
81
81
|
acme.new_certificate(csr)
|
82
82
|
rescue Acme::Client::Error::Unauthorized => e
|
83
83
|
raise unless config.auto_authorize_on_request
|
84
|
+
raise if retried
|
84
85
|
|
85
86
|
puts "=> Authorizing unauthorized domain names"
|
86
87
|
# https://github.com/letsencrypt/boulder/blob/b9369a481415b3fe31e010b34e2ff570b89e42aa/ra/ra.go#L604
|
@@ -95,7 +96,7 @@ module Acmesmith
|
|
95
96
|
puts " * #{domains.join(', ')}"
|
96
97
|
authorize(*domains)
|
97
98
|
retried = true
|
98
|
-
retry
|
99
|
+
retry
|
99
100
|
end
|
100
101
|
|
101
102
|
cert = Certificate.from_acme_client_certificate(acme_cert)
|
data/lib/acmesmith/version.rb
CHANGED