I use Remove-WebBinding -Port $Port -Protocol https to remove a web binding. This removes the binding from the associated site but the binding continues to exist an
Remove-WebBinding -Port $Port -Protocol https
Use netsh http delete sslcert ipport=0.0.0.0:443 to delete a SSL: example:
$DelSsl = netsh http delete sslcert ipport=0.0.0.0:443 $DelSsl $Ssl = netsh http add sslcert ipport=0.0.0.0:443 certhash=$certhash appid=$appid $Ssl