summaryrefslogtreecommitdiff
path: root/spec/fixtures/master_config/ssl/ca/inventory.txt
diff options
context:
space:
mode:
authorKen Barber <ken@bob.sh>2011-08-14 03:47:32 +0200
committerKen Barber <ken@bob.sh>2011-08-17 16:36:59 +0200
commit9b912d028fe1a2622ec61a56b1f0774ef3c9f43b (patch)
tree56c1be57410b1c1e6532b03c42cda4e1602ffd08 /spec/fixtures/master_config/ssl/ca/inventory.txt
parent33887f9be50c4fd94bbd08d7c00d9b3d97e29d21 (diff)
(#8925) Added new function called 'get_certificate' for retrieving
certificates from a CA (or locally). This function works by either obtaining the file locally or remotely based on Puppets configuration. Also added get_pubkey which wraps get_certificate and extracts the public key.
Diffstat (limited to 'spec/fixtures/master_config/ssl/ca/inventory.txt')
-rw-r--r--spec/fixtures/master_config/ssl/ca/inventory.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/fixtures/master_config/ssl/ca/inventory.txt b/spec/fixtures/master_config/ssl/ca/inventory.txt
new file mode 100644
index 0000000..51ed4af
--- /dev/null
+++ b/spec/fixtures/master_config/ssl/ca/inventory.txt
@@ -0,0 +1,5 @@
+# Inventory of signed certificates
+# SERIAL NOT_BEFORE NOT_AFTER SUBJECT
+0x0001 2011-08-12T20:00:08GMT 2016-08-10T20:00:08GMT /CN=Puppet CA: puppetmaster
+0x0002 2011-08-12T20:00:08GMT 2016-08-10T20:00:08GMT /CN=puppetmaster
+0x0003 2011-08-12T20:01:09GMT 2016-08-10T20:01:09GMT /CN=bob@mydomain.com