Hello Merve,
sorry for the delay in answering, hopefully you already found a solution!
As some things changed regarding certificate creation on Azure IoT side, we had to adapt and test how to generate certificates.
Here is a documentation on how to generate certificates for Azure IoT Hub:
Additionally I want to inform you that there is a new version of Connector for Azure available :)
BR
Kai