Chrome on MacOS started rejecting self-signed certificates

Try to run the following command from the terminal and relaunch Chrome

defaults write com.google.Chrome EnableCommonNameFallbackForLocalAnchors -bool true

This can help you to solve your issue.

Or

If you need a workaround to get the site working without replacing the certificate you can do the following.

  1. Download the certificate from the server (using another browser or with openssl)
  2. Install the certificate into Keychain Access under the login store
  3. Set the certificate to "always trust" by double clicking on it once it's been installed.