Bitnami Consul Gossip encryption

327 views Asked by At

I'm trying to get gossip encryption enabled on a local cluster running the bitnami/consul image.

I have created the containers with CONSUL_GOSSIP_ENCRYPTION: 'true' and CONSUL_GOSSIP_ENCRYPTION_KEY environment variables but all I ever get is this error:

2020-10-29T11:00:32.089Z [ERROR] agent: Error starting agent: error="Failed to configure keyring: Invalid key: key size must be 16, 24 or 32 bytes" 2020-10-29T11:00:32.089Z [INFO] agent: Exit code: code=1

I'm using consul keygen for the encryption key which is what the documentation says to use.

0

There are 0 answers