def to_x509
      if @value
        OpenSSL::X509::Name.new(@value.to_a, OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE)
      end
    end
def to_x509
      if @value
        OpenSSL::X509::Name.new(@value.to_a, OpenSSL::X509::Name::OBJECT_TYPE_TEMPLATE)
      end
    end
Initialize distinguished name from hash
 e.g.:
   { 'C'  => 'US',
     'ST' => 'California',
     'L'  => 'Santa Barbara',
     'O'  => 'RightScale',
     'OU' => 'Certification Services',
     'CN' => 'rightscale.com/emailAddress=cert@rightscale.com' }

 Conversion to OpenSSL X509 DN