After login to wordpress dashboard and tried to add new plugins
It shows An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.
While checking the logs the following error was getting generated
[Fri Jan 03 08:16:46.573487 2020] [ssl:error] [pid 314521:tid 47218495360] AH01941: stapling_renew_response: responder error
[Fri Jan 03 08:16:47.579419 2020] [ssl:error] [pid 314522:tid 47218497856] (101)Network is unreachable: [client x.x.x.x:2729] AH01974: could not connect to OCSP responder ‘ocsp.comodoca.com’
The issue was with the server firewall.
Tried restarted the CSF and the issue was fixed.
If not, try re-installing the CSF.