Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Having a new problem with setting up FMServer 12.  Whenever I turn on the SSL-redirect on the web server (using Server.app - i.e. all HTTP traffic goes to HTTPS) the CWP/PHP test breaks. Turn it off, it works fine.  Turn it on, it breaks. 

 

PHP/CWP Test is arrived at from the FMS Admin Console 'Technology Test' page:  localhost:16000/test.   It can be opened using the button on the Admin Console, too.

 

Somewhat curiously, the IWP test works fine under either condition:  IWP Home page also loads correctly after logging out.

 

Any ideas what is going on with the SSL to cause it to break?  Seems like it might be a configuration issue with the web server, but we have a 2nd server configured nearly identically (as closely as two OSes can be configured after going through the various install processes) and it works fine with this setup (HTTP redirected to HTTPS).

 

 

Thanks,

J

  • Author

I think that I figured out the solution.  It was necessary to do two things:

 

In the filemaker-api.php file located at: /Library/FileMaker Server/Web Publishing/publishing- engine/php/mountain lion/lib/php/FileMaker/conf  :

 

1)  Find this line:     $__FM_CONFIG['hostspec'] = 'http://127.0.0.1';

     change it to:       $__FM_CONFIG['hostspec'] = 'https://127.0.0.1:443'; 

 

This line could also use your specific server name or IP, e.g. "10.10.1.45" or "www.myserver.com"; it doesn't have to be 127.0.0.1. 

 

 

2) In the same file, uncomment this line of code:

     $__FM_CONFIG['curlOptions'] = array(CURLOPT_SSL_VERIFYPEER => false);

 

 

I believe that during deployment #1 will already be done for you IF you configured your server with SSL before doing your deployment, and you select "HTTPS" and "Port 443" during the deployment configuration.  That is why I had to do that step manually in the file; I had NOT set it up for SSL when doing the initial deployment (because it was set up yet).

 

Now...our problem appears to be performance/delays.  The test-PHP file/connection takes 30+ seconds to return a result, even if you are accessing the page from a browser running on the server itself.  That doesn't seem right.

 

--  Justin

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.