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/bob@mydomain.com.pem | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 spec/fixtures/master_config/ssl/public_keys/bob@mydomain.com.pem (limited to 'spec/fixtures/master_config/ssl/public_keys/bob@mydomain.com.pem') diff --git a/spec/fixtures/master_config/ssl/public_keys/bob@mydomain.com.pem b/spec/fixtures/master_config/ssl/public_keys/bob@mydomain.com.pem new file mode 100644 index 0000000..3d46da5 --- /dev/null +++ b/spec/fixtures/master_config/ssl/public_keys/bob@mydomain.com.pem @@ -0,0 +1,5 @@ +-----BEGIN RSA PUBLIC KEY----- +MIGJAoGBAL7+Idbd+eohxCXVXcICvo1IaqAzyjezWxfxMxoBF4mjdvwY9RalRM5j +Itm9ThVwLMezcISYSNPI42Y70+9XIK/3f6OxnSMoB7kDKX9MvcbZkRAtOfxDeWmA +un+PXuH87VN1r7sViRSSB2dIxB3qjF1HNhAm0ocmSW+sZ3eul2lpAgMBAAE= +-----END RSA PUBLIC KEY----- -- cgit v1.2.3