我正在尝试在 Azure 上部署 OpenProject 14,但使用 Azure Postgres Felxible 数据库服务器。但我收到以下错误,看起来我们的 Azure 租户受到 FIPS 投诉,下面是它抛出的错误消息。有什么想法吗?
Caused by:
PG::InternalError: ERROR: could not compute MD5 hash: disabled for FIPS (PG::InternalError)
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in `exec_params'
/app/vendor/bundle/ruby/3.3.0/gems/activerecord-7.1.4/lib/active_record/connection_adapters/postgresql_adapter.rb:894:in `block (2 levels) in exec_no_cache'
我们想使用 Azure postgres 灵活服务器部署 Openproject。
PostgreSQL 使用 OpenSSL 的 MD5 实现,并且您的 OpenSSL 是在所谓的“FIPS 模式”下编译的,并且拒绝计算 MD5 哈希值。
使用不同的 OpenSSL(不是托管数据库上的选项)或不使用 MD5 或实现您自己的 MD5 版本。