Use sha256 for self sign cert