ca_cert .pem extention

Jouni Malinen jkmaline
Wed Sep 8 06:31:35 PDT 2004

On Wed, Sep 08, 2004 at 07:58:34PM +1000, Simon Males wrote:

> Do the CA's have to have the .pem extention per the wpa_supplicant.conf 
> examples.

File name or the extension does not really have anything to do with the
contents of the file.. It's just a convention to use .pem for files that
have PEM/BASE64 format.

Anyway, wpa_supplicant should accept both PEM and DER formats for the
files. DER/ASN1 is tried first and if parsing fails, the file is
assumed to be using PEM.

> I as I think I require thawte root CA, i have downloaded 
> which contain .cer files.

And what do these files actually contain (e.g., what does 'file *.cer'
tell)? Another quick test would be to just configure them for
wpa_supplicant and see what happens..

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list