RIPD-108:  Use a self-signed certificate for peers

Except for the unity build. I.e. we have no file scope.