How to fix error message on license activation?

Are you seeing the cURL error 28: Connection timed out error on your WordPress site?

The cURL error 28 is a common WordPress REST API issue that can affect your website’s performance and may cause it to behave unpredictably.

In this article by WP Beginner, you find a very detailed approach for fixing this issue.