Revision d4a730d7
Added by Eric Helms about 10 years ago
lib/puppet/provider/key_bundle/katello_ssl_tool.rb | ||
---|---|---|
end
|
||
|
||
def pubkey
|
||
# strips the textual info from the certificate file
|
||
openssl('x509', '-in', pubkey_source_path)
|
||
if resource[:strip]
|
||
# strips the textual info from the certificate file
|
||
openssl('x509', '-in', pubkey_source_path)
|
||
else
|
||
File.read(pubkey_source_path)
|
||
end
|
||
end
|
||
|
||
def privkey
|
Also available in: Unified diff
Addresses changes made to katello-certs-tools regarding location of
cert generation and password arguments to katello-certs-tools. Provies
cleanup and simplification of where and what certs are used as well as
changing the naming conventions to reflect the fact that Katello is
the project controlling and generating the CA and certs.