Solved [SOLVED] HTTP service fails due to empty dhparam.pem

Status
Not open for further replies.

Jim Canfield

Silver Partner
Basic Certified
Joined
Nov 16, 2017
Messages
38
Reaction score
3
Hi Folks,

We have a system that the hard disk filled up on after call recordings were enabled. I was able to quickly get call services back up and running with an in-place reinstall and restore from recent backup, however web services are still down. Logs indicate a blank dhparam.pem file. What do I need to do regenerate the dhparam.pem file?

ERROR in nginx log:

2021/05/12 22:08:34 [emerg] 5193#5193: PEM_read_bio_DHparams("/var/lib/3cxpbx/Bin/nginx/conf/Instance1/dhparam.pem") failed (SSL: error:0906D06C:pEM routines:pEM_read_bio:no start line:Expecting: DH PARAMETERS)

Would forcing a certificate renew fix this?

Any insight would be helpful.

Thanks!
 
Never mind. I just pasted the contents of dhparam.pem from another system and started nginx and all is well. Don't let your HD fill up. Bad things happen! :)
 
  • Like
Reactions: ChrisC_3CX
  • Like
Reactions: Jim Canfield
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet