Skip to main content
Solved

After configuring FME Server for HTTPS --- file upload is no longer working

  • April 26, 2023
  • 4 replies
  • 102 views

hermann
Contributor
Forum|alt.badge.img+10

Hello, I have configured FME-Server for httpS. following this description https://docs.safe.com/fme/html/FME_Server_Documentation/AdminGuide/configuring_for_https.htm. But now is the file upload no longer working. "There was an error uploading the file"(https://docs.safe.com/fme/html/FME_Server_Documentation/WebUI/Uploading_data_files.htm) Any help is highly appreciated. Thanks.

Best answer by gazza

Thank you for your reply: I can confirm that to have modified Service URLs to Use HTTPS? - But I am NOT able to run a workspace and use other web services [data download, job submitter etc]. E.g. trying to run Samples\\austindownload.fmw --> "There was an error submitting the job." --- What are the correct service URLs? Eg: Login on https://fme.test.com/fmeserver/ ==> https://fme.test.com/fmedatadownload OR https://fme.test.com/fmeserver/fmedatadownload ?

The most common reason for that error after setting up SSL is that FME Server does not trust itself, as the cert hasn't been imported into FME Server's trusted certs. Can you confirm you did this stage:

  1. Import the Keystore into FME Server's trusted certs
  2. In a command prompt, from <FMEServerDir>\\Utilities\\jre\\bin\\, use the following command to import the keystore into FME Server's trusted certs, specifying the srcstorepass argument with the password from step 1.
  3. keytool -importkeystore -noprompt -srckeystore tomcat.keystore -destkeystore "<FMEServerDir>\\Utilities\\jre\\lib\\security\\cacerts" -deststorepass changeit -srcstorepass <password>

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

merlinegeorge
Safer
Forum|alt.badge.img+5
  • Safer
  • 89 replies
  • April 26, 2023

Hello,

 

Could you please confirm that you modified Service URLs to Use HTTPS? Are you able to run a workspace and use other web services [data download, job submitter etc] ?

 


hermann
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 13 replies
  • April 27, 2023

Hello,

 

Could you please confirm that you modified Service URLs to Use HTTPS? Are you able to run a workspace and use other web services [data download, job submitter etc] ?

 

Thank you for your reply: I can confirm that to have modified Service URLs to Use HTTPS? - But I am NOT able to run a workspace and use other web services [data download, job submitter etc]. E.g. trying to run Samples\\austindownload.fmw --> "There was an error submitting the job." --- What are the correct service URLs? Eg: Login on https://fme.test.com/fmeserver/ ==> https://fme.test.com/fmedatadownload OR https://fme.test.com/fmeserver/fmedatadownload ?


gazza
Contributor
Forum|alt.badge.img+6
  • Contributor
  • 132 replies
  • Best Answer
  • April 27, 2023

Thank you for your reply: I can confirm that to have modified Service URLs to Use HTTPS? - But I am NOT able to run a workspace and use other web services [data download, job submitter etc]. E.g. trying to run Samples\\austindownload.fmw --> "There was an error submitting the job." --- What are the correct service URLs? Eg: Login on https://fme.test.com/fmeserver/ ==> https://fme.test.com/fmedatadownload OR https://fme.test.com/fmeserver/fmedatadownload ?

The most common reason for that error after setting up SSL is that FME Server does not trust itself, as the cert hasn't been imported into FME Server's trusted certs. Can you confirm you did this stage:

  1. Import the Keystore into FME Server's trusted certs
  2. In a command prompt, from <FMEServerDir>\\Utilities\\jre\\bin\\, use the following command to import the keystore into FME Server's trusted certs, specifying the srcstorepass argument with the password from step 1.
  3. keytool -importkeystore -noprompt -srckeystore tomcat.keystore -destkeystore "<FMEServerDir>\\Utilities\\jre\\lib\\security\\cacerts" -deststorepass changeit -srcstorepass <password>

 


hermann
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • 13 replies
  • April 28, 2023

Thank you for your reply: I can confirm that to have modified Service URLs to Use HTTPS? - But I am NOT able to run a workspace and use other web services [data download, job submitter etc]. E.g. trying to run Samples\\austindownload.fmw --> "There was an error submitting the job." --- What are the correct service URLs? Eg: Login on https://fme.test.com/fmeserver/ ==> https://fme.test.com/fmedatadownload OR https://fme.test.com/fmeserver/fmedatadownload ?

That solved the problem.