cancel
Showing results for 
Search instead for 
Did you mean: 

OpenSocial widget is throwing "javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated" error

m_krishnapillai
Explorer
0 Kudos

Our OpenSocial widget HTML code uses below CSS and JS files

  1. https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css
  2. https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css
  3. https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
  4. https://cdnjs.cloudflare.com/ajax/libs/pace/1.0.2/pace.min.js
  5. https://code.jquery.com/ui/1.10.3/jquery-ui.js

At runtime, I can see that HCP shinding proxy is trying to concatenate these css and js to improve performance. As a result of which, above 5 links are failing. At the same time below link is getting downloaded properly:

  1. https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js

Any idea why only these 5 links fail with javax.net.ssl.SSLPeerUnverifiedException?

Thanks,

Mahesh

Accepted Solutions (0)

Answers (1)

Answers (1)

eliel_schurman
Participant
0 Kudos

Hello,

Cloud portal general recommendation is that static resources should not be under secure location. You should modify and adjust the application web.xml accordingly.

Regards,

Eliel.

Cloud Portal Development.

m_krishnapillai
Explorer
0 Kudos

I don't have a web.xml since I am developing a HTML5 application on Hana Cloud Platform. I do have an application descriptor - neo-app.json in which I have specified security constraint as below.

  "securityConstraints": [     {           "permission": "AccessApplicationDescriptor",           "description": "Access application descriptor",           "protectedPaths": [             "/neo-app.json"           ],           "excludedPaths": [             "/app.html"                  ]     } ]

app.html is my HTML file and it has been excluded from protected area.

Mahesh

m_krishnapillai
Explorer
0 Kudos

- Can you please help with this issue?