None
EN
How to Fix Error 0308010C Digital Envelope Routines Unsupported
[]
iClarified - Apple Tutorials
FIX ERROR 0308010CStep OneStep TwoPERMANENT FIXYou may encounter an error:0308010C:digital envelope routines unsupported message when attempting to execute commands in newer versions of macOS.Starting with OpenSSL 3.0, OpenSSL introduces some significant changes to its algorithms, moving the MD4 algorithms into OpenSSL 3.0's legacy provider.
A provider in OpenSSL is a collection of algorithms that can be added to an application when required.
The legacy provider contains algorithms that are considered outdated and less secure, and it does not load by default.The simplest way to resolve this error is to modify your command to bring back support for legacy algorithms.In this example, we'll use the openssl pkcs12 command to parse a PKCS#12 file to a PEM file on macOS Sonoma running OpenSSL 3.1.4.example:This throws the following error:To resolve the error, you can bring back support for legacy algorithms in openssl using the -legacy option.example:You can permanently have OpenSSL load legacy providers if required.
Here's how.Check to see which providers are loaded using the following command...Find the directory in which your openssl configuration file is located...Open the configuration file for editing, using the directory information found in the previous command.
Enter your administrative password if prompted.sudo nano /opt/homebrew/etc/openssl@3/openssl.cnfUnder the [provider_sect] add the following line:Under the [default_sect] uncomment the "activate = 1" line by removing the # symbol[default_sect]activate = 1Below that, add the following the new section[legacy_sect]activate = 1Press Control+X to exit the file, then press Y to save your changes.Hitto confirm the file name to write.You can now verify that legacy providers are loaded with the following command:Finally, try your initial command again to verify that error:0308010C:digital envelope routines unsupported is gone.
['openssl'
'fix'
'error'
'0308010c'
'algorithms'
'legacy'
'provider'
'providers'
'unsupported'
'command'
'using'
'envelope'
'following'
'file'
'digital'
'routines']