Newer versions of OSX doesn't include openssl libraries or are too old, so you must deploy with your application. Deploy these libraries using following steps:
Open Project/Deployment in your project.
Add required libraries.
Set RemotePath = 'Contents\Macos\'.
Configure the openSSL LibPath to default folder:
Client.TLSOptions.OpenSSL_Options.LibPath = oslpDefaultFolder.
Server.SSLOptions.OpenSSL_Options.LibPath = oslpDefaultFolder.
Requires the following libraries:
You can download latest libraries from your account.
Requires the following libraries:
There is one version for 32 bits and another for 64 bits. You must copy these libraries in the same folder where is your application.
You can download latest libraries from your account.
Requires the following libraries:
Only 64bits version are provided. You must copy these libraries in the same folder where is your application
You can download latest libraries from your account.
If you include the openSSL libraries in a OSX application, after the application has been Notarized, the libraries will be signed, you can check this using the following command:
codesign -dv --verbose=4 libcrypto.1.1.dylib
Check the following video which shows how Build a MacOSX64 Application with openSSL libraries
https://www.esegece.com/websockets/videos/delphi/quickstart/275-build-macosx64-application/file
Clients should not load the unversioned libcrypto dylib as it does not have a stable ABI.
On MacOS Monterey+, you can get this error trying to load the openSSL libraries, the error happens when tries to load first the openSSL libraries without version (libcrypto.dylib for example).
To fix this error set in the property OpenSSL_Options.UnixSymLinks the value oslsSymLinksDontLoad. This avoids the loading of the openSSL libraries without version.