Fix OpenResty Service Failure Due to Weak DH Parameters

Description

Hi ,
The cloud.cd.percona.com service was inaccessible. Upon investigation, I found that the OpenResty service was failing due to an issue with Diffie-Hellman (DH) parameters being too small. The error message was:

I updated the following snippet to use a 4096-bit DH parameter instead of 1024, as the latter was too small and caused the failure:

After applying this change, I re-ran the cloud-init script (commenting out a few functions as suggested), and the service started working as expected.

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Components

Labels

Story Points

Smart Checklist

Created March 4, 2025 at 2:48 PM
Updated last week
Resolved last week