<div>If I change the parameter &quot;certificate_file&quot; in tls section,</div>
<div>and using the same&nbsp;file with &quot;CA_file&quot; parameter,</div>
<div>radius can not file the certificate_file path and can not work.</div>
<div>It shows:</div>
<div>&nbsp;tls: private_key_file = &quot;/usr/local/etc/raddb/certs/cacert.pem&quot;<br>&nbsp;tls: certificate_file = &quot;(null)&quot;&nbsp; &lt;===&nbsp; here is strange<br>&nbsp;tls: CA_file = &quot;/usr/local/etc/raddb/certs/demoCA/cacert.pem&quot;
<br>&nbsp;tls: private_key_password = &quot;whatever&quot;<br>&nbsp;tls: dh_file = &quot;/usr/local/etc/raddb/certs/dh&quot;<br>&nbsp;tls: random_file = &quot;/usr/local/etc/raddb/certs/random&quot;<br>&nbsp;tls: fragment_size = 1024<br>&nbsp;tls: include_length = yes
<br>&nbsp;tls: check_crl = no<br>&nbsp;tls: check_cert_cn = &quot;(null)&quot;<br>&nbsp;tls: cipher_list = &quot;(null)&quot;<br>&nbsp;tls: check_cert_issuer = &quot;(null)&quot;<br>rlm_eap_tls: Loading the certificate file as a chain<br>rlm_eap: SSL error error:0200100E:system library:fopen:Bad address
<br>rlm_eap_tls: Error reading certificate file<br>rlm_eap: Failed to initialize type tls<br>radiusd.conf[10]: eap: Module instantiation failed.<br>radiusd.conf[1960] Unknown module &quot;eap&quot;.<br>radiusd.conf[1907] Failed to parse authenticate section.
</div>
<div>&nbsp;</div>
<div>The original file&nbsp; that &quot;certificate_file&quot; and &quot;private_key_file&quot; used is cert-srv.pem</div>
<div>and in that file,</div>
<div>there is specail format like this:</div>
<div>&nbsp;</div>
<div>Bag Attributes<br>&nbsp;&nbsp;&nbsp; localKeyID: 0C BA ED 0A 7B E9 67 CD E7 0A 08 39 DB 9D 99 34 0A C6 2B A4<br>subject=/C=CA/ST=Province/L=Some City/O=Organization/OU=localhost/CN=Root <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:certificate/emailAddress=root@example.com" target="_blank">
certificate/emailAddress=root@example.com</a><br>issuer=/C=CA/ST=Province/L=Some City/O=Organization/OU=localhost/CN=Client <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:certificate/emailAddress=client@example.com" target="_blank">
certificate/emailAddress=client@example.com </a><br>-----BEGIN CERTIFICATE-----<br>......</div>
<div>-----END CERTIFICATE-----<br>Bag Attributes<br>&nbsp;&nbsp;&nbsp; localKeyID: 0C BA ED 0A 7B E9 67 CD E7 0A 08 39 DB 9D 99 34 0A C6 2B A4<br>Key Attributes: &lt;No Attributes&gt;<br>-----BEGIN RSA PRIVATE KEY-----<br>Proc-Type: 4,ENCRYPTED 
<br>DEK-Info: DES-EDE3-CBC,45A3F7FFC07A6C8D<br>&nbsp;</div>
<div>......</div>
<div>-----END RSA PRIVATE KEY-----</div>
<div>&nbsp;</div>
<div>I wonder what the &quot;Bag Attributes&quot;&nbsp;and &quot;localKeyID&quot;&nbsp;are and where&nbsp;they come from.</div>
<div>The pem file I created by myself only have </div>
<div>&quot;-----BEGIN CERTIFICATE-----&nbsp; </div>
<div>&nbsp;..............................</div>
<div>&nbsp;-----END CERTIFICATE-----&quot; </div>
<div>and </div>
<div>&quot;------BEGIN RSA PRIVATE KEY-----</div>
<div>&nbsp;.......................................</div>
<div>&nbsp;-----END RSA PRIVATE KEY-----&quot;</div>
<div>&nbsp;</div>
<div>Moreover,</div>
<div>if I change both &quot;certificate_file&quot; and &quot;private_key_file&quot; path to the file I created,</div>
<div>it still can not work because of the certificate_file&#39;s path shows null.</div>
<div>&nbsp;</div>
<div>Well,</div>
<div>how&nbsp;should I do if I want to change the certificate_file to myself file?</div>
<div>&nbsp;</div>