Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JCS-SX - Fedex API SSL issue

Casey TanOct 27 2016 — edited Nov 8 2016

Hi everyone,

I am running a Java servlet that will call Fedex Tracking API , The Fedex tracking API URL is

private java.lang.String TrackServicePort_address = "https://wsbeta.fedex.com:443/web-services/track";

When the code going to access this link, then it will error, which is

; nested exception is: javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty

No idea is that has any way able to import Fedex SSL certificate into JCS-SX? or any alternative way to solve this error ?

Hope someone can help on this issue. Thanks alot.

This post has been answered by Casey Tan on Oct 31 2016
Jump to Answer

Comments

John JB Brock-Oracle

What version of JET are you working with?
This looks like you may have the script module hardcoded to main.js in your index.html file, and we change that name to bundle.js when using --release. In the more recent versions of the JET Starter templates, injector tags are using in the index.html to update the requirejs main module name at build time.

  <!-- This injects script tags for the main javascript files -->
  <!-- injector:scripts -->
  <!-- endinjector -->
renangi

Ojet 9.2 migrated to Ojet 11

Look in your applications index.html for the lines that I provided above. If they don't exist and/or there are hardcoded strings for the require.js and main entries, add/replace with what I shared above.

renangi

<!-- This is the main css file for the default theme -->
<!-- injector:theme -->
<link rel="stylesheet" href="css/libs/oj/v9.2.0/redwood/oj-redwood-min.css" type="text/css" />
<!-- endinjector -->
i have above code in my index.html,

That is not the same injectors that I posted about. Those are the theme injectors at the top of the file. Look at the bottom of your index.html file as I posted early.

1 - 5
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 28 2016
Added on Oct 27 2016
1 comment
392 views