3

The OP in this thread: Why is a CA certificate required for EAP-TLS clients?

said " My RADIUS server uses wifi-server-cert as the SSL certificate, and uses the wifi-client-ca certificate authority for validating client certificates."

Can someone tell me:

!/ Is it necessary (or advantageous) to use both a Server certificate and a CA Certificate on a Radius Server.(or do I have my wires crossed!)

2/ And if so how is it arranged?

At the moment I'm trying to set up an iPad to connect via WPA 2 Enterprise EAP-TLS.

I'm using a Qnap Network Attached Storage unit that has a radius server option. It will accept a certificate and key, plus an intermediate certificate - all in ascii format.

I'm using Openssl via XCA gui to create self signed certificates.

So far the only way I can find to get it to work is to have Root CA on the Radius Server. Client Certificate and key (p.12 Chained) plus Root CA certificate (.cer) in the Apple ios profile for the iPad.

3/ So also is it a security risk to use the root CA on the Radius Server?

2 Answers 2

2

The CA certificate is only being used to establish a mutually trusted certificate authority for both the client and server. This allows each to know the other is not a malicious impersonator.

  1. The RADIUS server needs a CA certificate to be able to check all the connecting clients are trusted by the CA. It will also have a separate certificate and private key which it will use when communicating.
  2. This is done by placing the CA certificate and server certificate on the server. The client will present a cert signed by the CA. (Either directly or through intermediate CAs). The server will check the signature to verify this is correct and accept the connection.

  3. Simply leaving the root certificate around isn't a security risk. It is a public key, meant to be shown to outside parties so they can check a CA signature is genuine. However, using the root certificate for communication requires having the private key available. This key is very security sensitive and shouldn't be easily accessed. Using it for a radius server is a major security risk.

4
  • This is correct, though note the key point here is that you should be putting the Root CA public key into the RADIUS server, not the private key (probably actually a bundle since most people don't sign with the Root CA but rather with an intermediate CA, so you will likely have a PEM file with two certs in it, the intermediate's public key and the root's public key)
    – crovers
    Commented Oct 11, 2016 at 12:54
  • @ztk Thanks for the very concise answer.Thats a great help.So is there ever a need for the root CA Private Key to be on the radius server? In any other role perhaps?
    – Mark Owen
    Commented Oct 11, 2016 at 16:04
  • @crovers Thanks for your help. So best practice would be to build the root CA, sign a CA certificate (intermediate) with it. And use that intermediate to sign the server and client certs.Put the (chained) CA certificate/public key on the Radius server (without the private key) + the server certificate and Private key ?
    – Mark Owen
    Commented Oct 11, 2016 at 16:06
  • @MarkOwen Seems like you got it, yes
    – crovers
    Commented Oct 11, 2016 at 16:46
0

The CA certificate is for authentication with client-side identity ,ie client side should provide its certificate to you.
It is a reverse call when the browser(you) connect with a server through tls,in which case the server side should prepare its certificate and private key,and send the certificate to you for verification.

in summary:

  1. When you are running as a server side,you should put your server certificate and private key together.The client side will check your certificate during tls handshake.it is the most common use case in which you open an website in browser.
  2. even though you are a server-side,you can also check the client-side identity.this way, you use your ca certificate to authenticate with client-side certificate.

So mutualTLS is an two-ways check process.client check server,meanwhile,server check client please see this link,it is very helpful for your understanding

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .