1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

feature #754: Revert CA check c1338c737a99af573ce8ab3eb41ec9f72ed1ee

This commit is contained in:
Ruben S. Montero 2011-08-30 17:14:39 +02:00
parent 3501633b3d
commit 304b82f024

View File

@ -171,7 +171,7 @@ private
# Validate the proxy certifcates
signee = @cert_chain[0]
@cert_chain[1..-1].each do |cert|
@cert_chain[1..-1].each do |cert|
if !((signee.issuer.to_s == cert.subject.to_s) &&
(signee.verify(cert.public_key)))
raise failed + signee.subject.to_s + " with issuer " +
@ -183,7 +183,7 @@ private
# Validate the End Entity certificate
if !@options[:ca_dir]
return
raise failed + "No certifcate authority directory was specified."
end
begin