Hi!
Could you please tell us what error you are getting? If you SSL Certificate has expired, your 3CX installation every night should try and renew it and if it fails, to send you an email.
Also, what are you try to do from command line?
Generally most of times this happens, it's because there is some restriction in the outbound traffic from the PBX to the 3CX Activation servers.
Do you have any DPI or security settings on the firewall that could be doing something like this?