Update self-signed certificate commands to use SHA256 signature