Bug 31538 - Changing self-signed certificates signature algorithm to SHA256

Summary: Changing self-signed certificates signature algorithm to SHA256