I am using openssl in a Codeigniter 4 project (php-7.4) running on apache server. The project requires the system to have openssl version v3.2.0. When I check the installed openssl version in the droplet I see v3.0.2. How do I upgrade the version of openssl working on digital ocean droplet.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Heya,
Confirm the version of OpenSSL installed:
Update your system to ensure all dependencies are up-to-date:
That should do it for you. If it doesn’t update it means that’s the newest one for your Distro:
https://launchpad.net/ubuntu/jammy/+source/openssl
The above states that the latest official openssl version that is supported is 3.0.2.
Heya, @mdhabiburrahmantalukdershamim
/usr/local/bin
. To ensure the new version is used, update the symbolic link:/usr/local/lib
to your library path:Check the OpenSSL version again:
It should now show
OpenSSL 3.4.0
Regards