letsencrypt - implementation of X9.42 Diffie Hellman encoding
Posted: Tuesday 21 December 2021 15:59
Hello,
I have implemented the Diffie Hellman encoding in the SSL certificat generation using Cerbot.
From a functional standpoint the SSL access to domoticz is working properly.
However I get a Domoticz error "missing SSL DH parameters from file ..." each time I reboot domoticz.
I made an assessment of the source code and in server.cpp discovered that domoticz checks the presence of "BEGIN DH PARAMETERS" in the certificat.
In my case the certificate contains "BEGIN X9.42 DH PARAMETERS" instead of "BEGIN DH PARAMETERS" which causes the error at boot time.
Would it be possible to have the defect fixed for the next release of Domoticz allowing both presence of "BEGIN DH PARAMETERS" and "BEGIN X9.42 DH PARAMETERS" in the certificat ?
Many thanks for the reply.
BR
I have implemented the Diffie Hellman encoding in the SSL certificat generation using Cerbot.
From a functional standpoint the SSL access to domoticz is working properly.
However I get a Domoticz error "missing SSL DH parameters from file ..." each time I reboot domoticz.
I made an assessment of the source code and in server.cpp discovered that domoticz checks the presence of "BEGIN DH PARAMETERS" in the certificat.
In my case the certificate contains "BEGIN X9.42 DH PARAMETERS" instead of "BEGIN DH PARAMETERS" which causes the error at boot time.
Would it be possible to have the defect fixed for the next release of Domoticz allowing both presence of "BEGIN DH PARAMETERS" and "BEGIN X9.42 DH PARAMETERS" in the certificat ?
Many thanks for the reply.
BR