puppetserver-ca 1.9.1 → 1.9.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6b557070928191df64bd5c16ffe5f523953056da761ba306f6601c422bf442e2
4
- data.tar.gz: 0cb7ba011bd18b86a8842922d1b7c673754f1bacdcf25f3e80182bae237cde24
3
+ metadata.gz: eec8f7982fa68c9cd07b69c5f844372dfb8752de1eb5fe210c187d9df0c79263
4
+ data.tar.gz: 11777b9a02756e9b6fa1739313de338646c95c995019c9febdf345b674f0ad3c
5
5
  SHA512:
6
- metadata.gz: 4dc1a23d03d22196b32f6dc6af78033c2600c1b1afac7f7d50df6b2abe56ed44197b07aafb76e9a95e5916cbc21464b5b1ce30cd6cfb74d81793206b04be7224
7
- data.tar.gz: 06390ed9834caebe8b3847dc349d9a1af887086cd1ffee0ba774148c7da2c4c6e1055b4349e505e6cb67856315b325dff4f0f72502112e2628f34fb064c68457
6
+ metadata.gz: e7404a91b866cbe9bbb4320ff536c54adb7ba17ee9e471be4fcfa02352fc757b5cf23dd1689f53241670f6d173856f4f8da898558d60b52acbfd8f51fbb8bb66
7
+ data.tar.gz: abe8716623b22584ecf1ea2a283a2372ce8c8e4b0f7fae09103832e81382d9ae4110f9a0440fd8de5d2369b890416f56a9cd258722ebae92967ffdd776e68827
@@ -296,7 +296,9 @@ BANNER
296
296
  end
297
297
 
298
298
  def process_alt_names(alt_names, certname)
299
- return '' if alt_names.empty?
299
+ # It is recommended (and sometimes enforced) to always include
300
+ # the certname as a SAN, see RFC 2818 https://tools.ietf.org/html/rfc2818#section-3.1.
301
+ return "DNS:#{certname}" if alt_names.empty?
300
302
 
301
303
  current_alt_names = alt_names.dup
302
304
  # When validating the cert, OpenSSL will ignore the CN field if
@@ -1,5 +1,5 @@
1
1
  module Puppetserver
2
2
  module Ca
3
- VERSION = "1.9.1"
3
+ VERSION = "1.9.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetserver-ca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2021-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter