1 Answers

2
votes

Well, it does look malformed... the signature has several / characters, and it shouldn't.

The docs indicate that this pipeline can be used to build the signature:

cat policy | openssl sha1 -sign private-key.pem | openssl base64 | tr '+=/' '-_~'

If you do that, there shouldn't be any / left in your signature -- they would all have been converted to the ~ character.