Search code examples
iissslssl-certificatex509certificategprs

ssl certificate chain


i have a windows 2008 server and a comodo wildcard cerificate. i also have a couple of applications running under this certificate. the application and the certificate work fine and are correctly installed.

i have a gprs module from telit that without ssl works fine but when enabling ssl althougth it works it makes 45seconds in handsake to authenticate the server certification.The delay is surely from the handshake because later on the communication is fast enough.

i am searching quite a while for possible problems. i am leaning to believe that the validation of the certification chain is slow.

how can i reduce this time? do you have any other ideas of possible errors or setting issues?


Solution

  • What is likely happening is that you have not installed the intermediate certificates in the chain on the server. This causes the server not to send those to the client and the client needs to fetch them on its own, which causes the delay. Ensure that all certs in the cert chain, except the root, are present in the local machine Intermediate CAs store.

    You can use Wireshark or similar tool to look at the network traffic and see what certificates are being sent from the server to the client. If you could capture the client network traffic, you can see whether my theory above is correct or not and what is causing the delay.