summaryrefslogtreecommitdiffstats
path: root/spec/unit/file_serving/configuration/parser.rb
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2009-02-27 17:52:01 -0600
committerJames Turnbull <james@lovedthanlost.net>2009-02-28 11:09:11 +1100
commit09bee9137d7a6415609a8abfdf727ee0361139e0 (patch)
treeb3adb6eec8c8cca1c1a3085193855dacc361bd00 /spec/unit/file_serving/configuration/parser.rb
parentcf1cb1474f13ae2fc4ec27142fd34d494826c929 (diff)
downloadpuppet-09bee9137d7a6415609a8abfdf727ee0361139e0.tar.gz
puppet-09bee9137d7a6415609a8abfdf727ee0361139e0.tar.xz
puppet-09bee9137d7a6415609a8abfdf727ee0361139e0.zip
Fixing #2028 - Better failures when a cert is found with no key
The problem was that the server had a certificate for the client. Initially the client just didn't have a key, because it assumed that if it had a certificate then it had a key. Upon fixing it to create the key, the key then did not match the found certificate. This commit fixes both of those: The key is always found before the certificate, and when the certificate is found it's verified against the private key and an exception is thrown if they don't match. It's always a failure, so this just makes the failure more informative. Signed-off-by: Luke Kanies <luke@madstop.com>
Diffstat (limited to 'spec/unit/file_serving/configuration/parser.rb')
0 files changed, 0 insertions, 0 deletions