summaryrefslogtreecommitdiffstats
path: root/lib/puppet/ssl/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Handling the case where a symbol (e.g., :ca) is used for a certificate name.Luke Kanies2008-11-031-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing the String format (fixes #1522).Luke Kanies2008-08-201-0/+11
| | | | | | | | | The string format no longer provides any support methods, which means that I had to create to_multiple_s and from_multiple_s methods on the SSL classes. I created them in the base class and tested them just in the cert class. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #1168 for REST -- all ssl classes downcase their names.Luke Kanies2008-06-151-1/+1
| | | | This is a much cleaner fix than the xmlrpc version, thankfully. :)
* Moving the password file handling into the SSL::Key class.Luke Kanies2008-04-171-0/+5
| | | | | | | | | | | | | | This was necessary because when the Indirector is used, there isn't necessarily enough context available to know when a password file should be used (e.g., when reading a Key from disk, you don't know if that key was encrypted). Now, the Key class automatically uses the right password file, and only tries to use those files that actually exist. This isn't very flexible, in that it only allows one CA file and one non-CA file, but no one really uses anything but the CA file anyway.
* Making the first pass at using requests instead ofLuke Kanies2008-04-151-1/+0
| | | | | specifying the terminus class. The individual ssl classes now work, but the ssl host class doesn't yet.
* Adding a :to_text method that will convert the containedLuke Kanies2008-04-151-0/+6
| | | | thing to readable human text.
* It looks like all of the new ssl classes for managingLuke Kanies2008-04-151-0/+1
| | | | | | | keys, certificates, and requests now work, including talking to the certificate authority. Now we just need the authority itself, along with the necessary REST terminii.
* The basics for the certificate and certificate requestLuke Kanies2008-04-151-0/+40
indirection terminii are done. I need to move most of the test code to a shared behaviour now.