From: Guillaume Marcais Date: 2004-05-10T03:49:15+09:00 Subject: QuickCert DN do not match When I run QuickCert, with the configuration file given on the web site, I get: [gus@gusmac drbssl]$ QuickCert /usr/bin/QuickCert:234:in `sign_cert': DN does not match (RuntimeError) from /usr/bin/QuickCert:82:in `create_cert' from /usr/bin/QuickCert:352 from /usr/bin/QuickCert:351:in `each' from /usr/bin/QuickCert:351 The offending line does a comparison. I added display of the 2 compared values: csr.subject [["C", "US", 19], ["O", "local", 12], ["OU", "gusmac", 12]] @ca_config [["C", "US"], ["O", "local"], ["OU", "gusmac"]] They look awfully similar... Should the test be modified to succeed in this case? Guillaume. For reference: [gus@gusmac drbssl]$ cat qc_config full_hostname = `hostname` domainname = full_hostname.split('.')[1..-1].join('.') hostname = full_hostname.split('.')[0] CA[:hostname] = hostname CA[:domainname] = domainname CA[:CA_dir] = "CA" CA[:password] = '1234' CERTS << { :type => 'server', :hostname => 'localhost', :password => '5678', } CERTS << { :type => 'client', :user => 'username', :email => 'username@example.com', } [gus@gusmac drbssl]$ ruby -v ruby 1.8.1 (2004-04-27) [powerpc-darwin]