How to secure or ignore SSL certificate validation in the internet-less server?

How I can secure or ignore SSL certificate validation in the internet-less CentOS server? My app server was in a local network and my server only has access to a specific API server for example: https://api.kavenegar.com/v1/0/utils/getdate.json, but my server cannot validate that SSL certificate and get an SSL error with the command curl, or etc.…

Details

Portmapper issue with server using NFS

I received an email from a German service (cert-bund.de) telling me that my servers had a portmapper service (portmap, rpcbind) publicly available. (Subject: [CB-Report#20191125-XXXXXXX] Offene Portmapper-Dienste in Netzbereich my.ip.v4.ip) I run the command test available here and this is the result: rpcinfo -T udp -p my.ip.v4.ip program vers proto port service 100000 4 tcp 111…

Details