microsoft / omi

Open Management Infrastructure
Other
367 stars 116 forks source link

use sha2 to encrypt certificates #693

Closed Yash-Khatri closed 3 years ago

Yash-Khatri commented 3 years ago

This PR contains the OMI related changes for deleting the older certificate and using sha256 algo to encrypt the certificates

dishantcr7 commented 3 years ago

Hi Yash, I remember these changes were already done by Rahul, Can you please explain why are we doing it again?

Yash-Khatri commented 3 years ago

Hi Dishant , Rahul's changes will only work when environment is cleaned and we are installing agent. As part of this PR we have covered cases like deleting the older certificate and generate new certificate during installation and upgradation also.