amarillo 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/amarillo.rb +8 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2dbdaceaf0eac001e1d7cb1ba63058ce2cee3e81be2c61d08378c3db7db562ae
|
|
4
|
+
data.tar.gz: b1afafa36c49e473a09bb56de32c354a668516e7fd71ec8770b38b681777c825
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d19987aa6a9c84b92411fc5f5fa99102e9bd0f3abb8fcfb3dcacd8f28bc39a7806a28e932d7e39463680ca1281b701ad30b9a44e54c786918795f12d909d4e10
|
|
7
|
+
data.tar.gz: 2eef894b6c9ed756249684f31f2b4392ef2a79bd5c281858b64c9615f19bdabe91a46f43cf480fe9e9ff429c1cacc173f6d98b89916ffc21bc82f633906a675f
|
data/lib/amarillo.rb
CHANGED
|
@@ -185,18 +185,20 @@ class Amarillo
|
|
|
185
185
|
csr = Acme::Client::CertificateRequest.new private_key: certPrivateKey,
|
|
186
186
|
names: [commonName]
|
|
187
187
|
|
|
188
|
+
while order.status == 'processing'
|
|
189
|
+
sleep(1)
|
|
190
|
+
order.reload
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
@logger.info "Order status: #{order.status}"
|
|
194
|
+
|
|
188
195
|
begin
|
|
189
196
|
order.finalize(csr: csr)
|
|
190
197
|
rescue
|
|
191
|
-
@logger.error("
|
|
198
|
+
@logger.error("Error finalizing certificate order")
|
|
192
199
|
self.cleanup label, record_type, challengeValue
|
|
193
200
|
end
|
|
194
201
|
|
|
195
|
-
while order.status == 'processing'
|
|
196
|
-
sleep(1)
|
|
197
|
-
order.reload
|
|
198
|
-
end
|
|
199
|
-
|
|
200
202
|
keyOutputPath = "#{@keyPath}/#{commonName}.key"
|
|
201
203
|
certOutputPath = "#{@certificatePath}/#{commonName}.crt"
|
|
202
204
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: amarillo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- iAchieved.it LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: acme-client
|