Update consul's certificates configuration #48

Closed
opened 2025-01-16 19:30:30 +00:00 by Armael · 1 comment
Owner

We are currently using deprecated fields:

Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'ca_file' field is deprecated. Use the 'tls.defaults.ca_file' field instead.
Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'cert_file' field is deprecated. Use the 'tls.defaults.cert_file' field instead.
Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'key_file' field is deprecated. Use the 'tls.defaults.key_file' field instead.
Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'verify_incoming' field is deprecated. Use the 'tls.defaults.verify_incoming' field instead.
Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'verify_outgoing' field is deprecated. Use the 'tls.defaults.verify_outgoing' field instead.
Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN]  agent.auto_config: The 'verify_server_hostname' field is deprecated. Use the 'tls.internal_rpc.verify_server_hostname' field instead.
We are currently using deprecated fields: ``` Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'ca_file' field is deprecated. Use the 'tls.defaults.ca_file' field instead. Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'cert_file' field is deprecated. Use the 'tls.defaults.cert_file' field instead. Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'key_file' field is deprecated. Use the 'tls.defaults.key_file' field instead. Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'verify_incoming' field is deprecated. Use the 'tls.defaults.verify_incoming' field instead. Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'verify_outgoing' field is deprecated. Use the 'tls.defaults.verify_outgoing' field instead. Jan 16 20:28:46 df-ykl consul[2062540]: 2025-01-16T20:28:46.768+0100 [WARN] agent.auto_config: The 'verify_server_hostname' field is deprecated. Use the 'tls.internal_rpc.verify_server_hostname' field instead. ```
Author
Owner

nvm this is a duplicate of #21 .

nvm this is a duplicate of #21 .
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/nixcfg#48
No description provided.