Save as .txt the certificate data in the following format in a text editor
-----BEGIN CERTIFICATE-----
[data serialized by microsoft]
-----END CERTIFICATE-----
Open chrome browser (this step might work with other browsers too)
settings > show advanced settings > HTTPS/SSL > manage certificates
Import the .txt in step 1
Select and export that certificate in Base-64 encoded format. Save it as .cer
Now you can use keytool or Portecle to import it to your java keystore