Add Postgresql SSL Support to Omnis

The fact that Omnis lacks support for Postgresql SSL out-of-the-box is a concern. A modern software should always use SSL. So you have to add this manually by yourself. And the Omnis documentation is not clear about exact how to do this. Some steps contains faulty or outdated information.

But thanks to Omnis Support I finally got this to work.

1. Download source for new SSL files

The source for files that have SSL support is here (Postgresql 15.x for Mac)

2. Open "Display Package Contents"

On Mac the package content is hidden. So you have to enter this hidden area. Right click on Omnis 11 Runtime. Click “Display Package Contents“. Make sure the account you're using has both Read and Write permissions on the folder called “Contents”.

Display Package Contents
3. Delete old files in the Frameworks folder

In /Contents/Frameworks folder delete the following files:

  1. libpq.dylib
  2. libpq_nossl.dylib

Delete
4. Move new files into Omnis Content/Framework

Using the “Binaries from installer Version 15.x”, copy the following libraries into the Frameworks folder of your Omnis installation.

  1. libpq.5.15.dylib
  2. libpq.dylib (symlink)

New files from the source "Binaries from installer Version"

lib folder
5. Create a new folder "lib" and move files into this

Create the folder: /Contents/lib and copy the following files from the source into the new "lib" folder:

  1. libcom_err.3.0.dylib
  2. libcrypto.3.dylib
  3. libgssapi_krb5.2.2.dylib
  4. libk5crypto.3.1.dylib
  5. libkrb5.3.3.dylib
  6. libkrb5support.1.1.dylib
  7. libssl.3.dylib

lib folder