Skip to content

undefined symbol: FIPS_mode #19791

@Arunkumar-M10

Description

@Arunkumar-M10

Hi All,

I am facing an issue with openssl where it is throwing me errors like below,

../python3.8/site-packages/cryptography/hazmat/bindings/_openssl.abi3.so: undefined symbol: FIPS_mode

Initially, was using openssl 3.0.2 and had come across some errors when cryptography build was running, so have installed the openssl version 1.1.1h and cryptography build was successful. But now when I am trying to run some automated test in CI pipeline getting above errors. Below are the details,

Image: Ubuntu - 20.04
Openssl version 1.1.1h
steps followed to install openssl:

sudo wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz
sudo wget https://www.openssl.org/source/openssl-1.1.1h.tar.gz.sha256
echo "$(cat openssl-1.1.1htar.gz.sha256) openssl-1.1.1h.tar.gz" | sha256sum --check
sudo tar -zxf openssl-1.1.1h.tar.gz
cd openssl-1.1.1h
./config
make
make install
sudo mv /usr/bin/openssl /usr/bin/openssl-1.1.1h
sudo ln -s /usr/local/bin/openssl /usr/bin/openssl
sudo ldconfig
openssl version

Have tried installing different version of openssl like 1.0.1e/1.0.2s/3.0.7 etc.., but still the issue exists, could someone please let me know how to overcome from this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions