As noted in https://github.com/observablehq/framework/pull/1490, the caFingerprint option fails when comparing a SHA-256 string that is provided as all lowercase, no colons (e.g. a1b2c3d4 rather than A1:B2:C3:D4). The lowercase format is what Elasticsearch prints to the console on startup, which fails the string comparison and is a confusing experience. All fingerprints should be normalized to the same format before comparison.
🐛 Bug Report
As noted in https://github.com/observablehq/framework/pull/1490, the
caFingerprint
option fails when comparing a SHA-256 string that is provided as all lowercase, no colons (e.g.a1b2c3d4
rather thanA1:B2:C3:D4
). The lowercase format is what Elasticsearch prints to the console on startup, which fails the string comparison and is a confusing experience. All fingerprints should be normalized to the same format before comparison.