I finally found the solution. I needed to add the IP next to the name in the host name field of my web site document :
doc.mydomain.com
xxx.xxx.xxx.xxx
This because SSL needs to lookup with the IP adress before the url name is known
(http://www-01.ibm.com/support/docview.wss?uid=swg21173919).