Skip to main content
Solved

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


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

hermann wrote:

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>

 

View original
Did this help you find an answer to your question?

4 replies

merlinegeorge
Safer
Forum|alt.badge.img+5

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
  • April 27, 2023
merlinegeorge wrote:

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
  • Best Answer
  • April 27, 2023
hermann wrote:

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
  • April 28, 2023
hermann wrote:

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings