[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(racoon 529) Re: How to prevent racoon from accepting unknown self-signed certificates?



 In your previous mail you wrote:

   abstract:
   - racoon accepts unknown self-signed certificates
   - how can racoon be configured to deny those?
   
=> it can't be configured but you can patch the source to remove
this feature :
in crypto_openssl.c function cb_check_cert() remove the case for
X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT ...
   
   i am pretty sure that this is not the way it's intended to work :o)
   
=> i'm not (:-)

Regards

Francis.Dupont@enst-bretagne.fr

PS: of course you can configure only all possible peers but this is
painful and perhaps you'd like to make racoon refusing some other
common X.509 cert warning... BTW look at the verify command doc for
a description of how OpenSSL X509_verify_cert() works.