tSalesforceConnection throw error while change HTTPS Security Certificate Change from SHA-1 to SHA-256 hash algorithms

tSalesforceConnection throw error while change HTTPS Security Certificate Change from SHA-1 to SHA-256 hash algorithms   tSalesforceConnection throw error while change HTTPS Security Certificate Change from SHA-1 to SHA-256 hash algorithms What to do ?