From 9b912d028fe1a2622ec61a56b1f0774ef3c9f43b Mon Sep 17 00:00:00 2001 From: Ken Barber Date: Sun, 14 Aug 2011 03:47:32 +0200 Subject: (#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. --- spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem (limited to 'spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem') diff --git a/spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem b/spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem new file mode 100644 index 0000000..24c6361 --- /dev/null +++ b/spec/fixtures/master_config/ssl/public_keys/puppetmaster.pem @@ -0,0 +1,5 @@ +-----BEGIN RSA PUBLIC KEY----- +MIGJAoGBAM8ZuDuDpXIoVi2zR26ChJkPXBpbBtb7NJ5BbYy3hensouHFep/AH9Tm +nGVfWqsyvDKwUL2K6W6Wqdv5BUlsd724VFQ8+cp7Dc4btibfdeF2iRHA5qQzFFME +PqYOyQkh6HFtiYpaHwGXQtR63ny3Oe9MmMMUv/1P3MOjeTJ7JEthAgMBAAE= +-----END RSA PUBLIC KEY----- -- cgit v1.2.3