Hi,
Could you paste the output of "show|compare" to see what configuration rolls back post commit? and could you try to "commit full" and see if that helps?
Since you mentioned about SSL certificate, I assume you trying to access/setup secure web access? if yes, it could be that SSL certificate got messed up , and you will need to import it again to see if that helps.
Try to import the PEM file again and delete services web-management, then re-configure everything back again to force reprogram the kernel and generate a new file now with ssh v2.///
For Instance:
- delete system services web-management
- commit full
- set system services web-management http
- commit
- delete security certificates local
- commit full
- set security certificates local abc load-key-file /var/tmp/xyz.ca.pem
- set system services web-management https local-certificate abc
- show | compare
- commit full
Generating and installing the SSL certificate to be used for Secure Web Access for EX Series switch
https://kb.juniper.net/InfoCenter/index?page=content&id=KB19726