Hi list,
I set up EAP/TLS & FreeRadius auth for windowsxp client, and currently hit the wall in the certification generation.
I followed the instructions in the following howto on the net:
http://www.freeradius.org/doc/EAPTLS.pdf
The certs are generated as follows:
CA cert:
*
rm -rf demoCA
openssl req -new -x509 -keyout newreq.pem -out newreq.pem -days 730 -passin pass:whatever -passout pass:whatever
CA.sh -newca >/dev/null
/usr/local/openssl/bin/openssl pkcs12 -export -in newreq.pem -out root.p12 -cacerts -passin pass:whatever -passout pass:whatever
/usr/local/openssl/bin/openssl pkcs12 -in root.p12 -out root.pem -passin pass:whatever -passout pass:whatever
/usr/local/openssl/bin/openssl x509 -inform PEM -outform DER -in root.pem -out root.der
Client cert:
*
/usr/local/openssl/bin/openssl req -new -keyout newreq.pem -out newreq.pem -days 730 -passin pass:whatever -passout pass:whatever
/usr/local/openssl/bin/openssl ca -policy policy_anything -out newcert.pem -passin pass:whatever -key whatever -extensions xpclient_ext -extfile xpextensions -infiles newreq.pem
/usr/local/openssl/bin/openssl pkcs12 -export -in newcert.pem -inkey newreq.pem -out cert-clt.p12 -clcerts -passin pass:whatever -passout pass:whatever
/usr/local/openssl/bin/openssl pkcs12 -in cert-clt.p12 -out cert-clt.pem -passin pass:whatever -passout pass:whatever
/usr/local/openssl/bin/openssl x509 -inform PEM -outform DER -in cert-clt.pem -out cert-clt.der
Then I transfered root.der and cert-clt.p12 to winxp and installed them, following the instructions in Ken Roser's howto.
The problem is that the client sert status showed: This certificate has an nonvalid digital signature. Attached is the ca cert and client cert (I don't bother with the server cert yet).
Btw, when I installed the ca, it said that windows can't verify the integrity of the ca bec test.adianto.com can't be contacted. I chose to install the cert anyway, and the status is ok. So, prob that is not the source of the problem.
What can cause the 'nonvalid digital signature' ? any suggestions how to solve ?
The openssl used is openssl-0.9.7d, installed in redhat linux.
Thanks,
lara La vie, voyez-vous, ca n'est jamais si bon ni si mauvais qu'on croit- Guy de Maupassant -
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
ca_cert.cer
Description: ca_cert.cer
client_cert.cer
Description: client_cert.cer