For encryption and signing, we need the private and public keys of both Contoso and ShipAnyWhere. Certificates can be created with the MakeCert utility (https://msdn.microsoft.com/en-us/library/windows/desktop/aa386968(v=vs.85).aspx). I used the following command-line tools to generate the keys:
makecert -r -pe -n “CN=www.Contoso.com” -b 01/01/2019 -e 03/23/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my “Contoso.cer” -sr currentuser -sky exchange -sp “Microsoft RSA SChannel Cryptographic Provider” -sy 12 -a “sha1” -nscp
makecert -r -pe -n “CN=www.ShipAnyWhere.com” -b 01/01/2019 -e 03/23/2036 -eku 1.3.6.1.5.5.7.3.1 -ss my “ShipAnyWhere.cer” -sr currentuser -sky exchange -sp “Microsoft RSA SChannel Cryptographic Provider” -sy 12 -a “sha1” -nscp
Private and public key pairs are already available in the GitHub repository. You can use those files straight away. The password for these private keys is B2B.