Updated Conformance Security Resource Class

refactored certificate.rb for checkin