Output....
[root@molar cosign-ca-dir]# ls -la /etc/httpd/cosign-ca-dir
total 76
drwxr-x--- 3 apache apache 4096 Aug 17 08:52 .
drwxr-xr-x 10 root root 4096 Aug 14 14:33 ..
lrwxrwxrwx 1 root root 13 Aug 17 07:51 3c58f906.0 -> extCAroot.pem
lrwxrwxrwx 1 root root 14 Aug 17 07:51 84df5188.0 -> incommonCA.pem
drwx------ 2 root root 4096 Aug 17 07:44 archive
lrwxrwxrwx 1 root root 16 Aug 17 07:51 b0de3e19.0 -> intermediate.pem
-rw------- 1 root root 1521 Aug 17 07:45 extCAroot.pem
lrwxrwxrwx 1 root root 11 Aug 17 07:51 fa84f4ea.0 -> umwebCA.pem
-rw------- 1 root root 5379 Aug 17 07:43 incommonCA.pem
-rw------- 1 root root 3309 Aug 17 07:45 intermediate.pem
-rw-r--r-- 1 root root 1334 Aug 17 08:52 umwebCA.pem
[root@molar cosign-ca-dir]# sha512sum umwebCA.pem
e8de2020db961a1d20ef17752945ebdfdc089ceeb9d9370d6cbbac29f3c65711994e5e54a03338d3d6b03b711faa197c229b9eb9832be982fa0cd3eb65a79a04
umwebCA.pem
Shawn Rahl
Unix Administrator
Dental Informatics, School of Dentistry
University of Michigan
[email protected]
On Fri, Aug 17, 2012 at 10:22 AM, Mark Montague <[email protected]> wrote:
> On August 17, 2012 10:10 , Shawn Rahl <[email protected]> wrote:
>
>> [root@molar ~]# cat /dev/null | openssl s_client -connect
>> weblogin.umich.edu:6663
>> <http://weblogin.umich.edu:**6663<http://weblogin.umich.edu:6663>>
>> -CApath /etc/httpd/cosign-ca-dir -cert
>> /etc/httpd/certs/current/**mitools-dev.dent.umich.edu.crt
>> -key /etc/httpd/certs/current/**mitools-dev.dent.umich.edu.key -starttls
>> smtp -showcerts
>>
>> CONNECTED(00000003)
>> didn't found starttls in server response, try anyway...
>> depth=1 /C=US/ST=Michigan/L=Ann Arbor/O=University of
>> Michigan/OU=ITCS/CN=UM Web
>> CA/emailAddress=webmaster@**umich.edu<[email protected]><mailto:
>> [email protected]>
>>
>> verify error:num=19:self signed certificate in certificate chain
>> verify return:0
>> ---
>>
>
> Note, we do not have self-signed certificates being used at all, so I am
>> not sure where the return code 19 and message is coming from.
>>
>
> What is the output of "ls -la /etc/httpd/cosign-ca-dir" ?
>
> Be sure you have the following in that directory (note that this will be
> different for people from other institutions):
>
> lrwxrwxrwx. 1 root root 11 Jul 10 11:22 5cc1e784.0 -> umwebCA.pem
> -rw-r--r--. 1 root root 1334 Mar 19 10:56 umwebCA.pem
>
> Also make sure you have the correct CA root certificate:
>
> [root@minos certs]# sha512sum umwebCA.pem
> e8de2020db961a1d20ef17752945eb**dfdc089ceeb9d9370d6cbbac29f3c6**
> 5711994e5e54a03338d3d6b03b711f**aa197c229b9eb9832be982fa0cd3eb**65a79a04
> umwebCA.pem
> [root@minos certs]#
>
> The output you should see from the "openssl s_client -showcerts" command
> is:
>
> [root@minos certs]# openssl s_client -connect weblogin.umich.edu:6663-cert
> /etc/pki/tls/certs/minos.lsa.
> **umich.edu.crt -key /etc/pki/tls/private/minos.**lsa.umich.edu.key
> -CApath /etc/pki/tls/certs -starttls smtp -showcerts
>
> CONNECTED(00000003)
> didn't found starttls in server response, try anyway...
> depth=1 C = US, ST = Michigan, L = Ann Arbor, O = University of Michigan,
> OU = ITCS, CN = UM Web CA, emailAddress = [email protected]
> verify return:1
> depth=0 C = US, ST = Michigan, L = Ann Arbor, O = University of Michigan,
> OU = ITCS, CN = weblogin.umich.edu, emailAddress = [email protected]
> verify return:1
>
> ---
> Certificate chain
> 0 s:/C=US/ST=Michigan/L=Ann Arbor/O=University of Michigan/OU=ITCS/CN=
> weblogin.**umich.edu/emailAddress=**[email protected]<http://weblogin.umich.edu/[email protected]>
> i:/C=US/ST=Michigan/L=Ann Arbor/O=University of Michigan/OU=ITCS/CN=UM
> Web CA/emailAddress=webmaster@**umich.edu <[email protected]>
> [...remainder of output omitted...]
>
> --
> Mark Montague
> [email protected]
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss