certie 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/certie.rb +1 -0
  3. metadata +9 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44aaa693768a8ded233b16049a5fc3d3d2aaf5ba356d6dab736354e702619ed2
4
- data.tar.gz: ff05530e2f35673871e7f056882692d323dd266ca34bcf201240777072e10dc2
3
+ metadata.gz: c2db9bf5d411b177f146378f28e2509444c5944dbf27fa1dbc8062cd5b301cfb
4
+ data.tar.gz: 4fe3a8adc909773c1e7507bb4fc6101a6995b3d552f16e4d3edeed75cbea65fe
5
5
  SHA512:
6
- metadata.gz: 7edc34343ffd7d39edee5877863f160c706f0b6560c6ef1b26dd47a30c385a71e06815b6c3663ee3b79d93e3c20522bfe767bb30ab0f1cd32734fecba4534df2
7
- data.tar.gz: 8a2d4e1df09ca87792d120c635afcb281911df49d3393f854682ab9e5d962831fa5756e2ad360e0f55a23b872dac815eb384d1c755192d45f7d6840c303e4c1a
6
+ metadata.gz: 4182a42d5b81261762c2b8fb03e9d9f5a8739f9b78d12836dda196eefc7c835283e1d3ea70b43183d347c8d897ba52d853ae6801d5c499c655069cc835064910
7
+ data.tar.gz: 4d1cfc800b64721cbb1c080aa142e2647d7301ae6964d8641d9ababc4250607b39d150ac48529ab7680ec5e40115da19bb821d89dfd2ac027364060b4094e394
data/lib/certie.rb CHANGED
@@ -90,6 +90,7 @@ class CertificateWrapper
90
90
  ef.issuer_certificate = rootCert
91
91
  # cert.add_extension ef.create_extension('keyUsage', 'digitalSignature', true) # TODO: check if we can set webServer and webClient
92
92
  cert.add_extension ef.create_extension('subjectKeyIdentifier', 'hash', false )
93
+ cert.add_extension ef.create_extension('subjectAltName', 'DNS:' + cn, false) #This can be CSV of multiple DNS: and IP: entries
93
94
 
94
95
  cert.sign rootKey, OpenSSL::Digest.new('SHA256')
95
96
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: certie
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Katkam Nitin Reddy
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-27 00:00:00.000000000 Z
11
+ date: 2021-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: openssl
@@ -24,8 +24,8 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.2.0
27
- description:
28
- email:
27
+ description:
28
+ email:
29
29
  executables:
30
30
  - certie
31
31
  extensions: []
@@ -33,10 +33,10 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - bin/certie
35
35
  - lib/certie.rb
36
- homepage:
36
+ homepage:
37
37
  licenses: []
38
38
  metadata: {}
39
- post_install_message:
39
+ post_install_message:
40
40
  rdoc_options: []
41
41
  require_paths:
42
42
  - lib
@@ -51,8 +51,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  - !ruby/object:Gem::Version
52
52
  version: '0'
53
53
  requirements: []
54
- rubygems_version: 3.0.6
55
- signing_key:
54
+ rubygems_version: 3.2.22
55
+ signing_key:
56
56
  specification_version: 4
57
57
  summary: A utility for generating certificates
58
58
  test_files: []