cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud Connector Issue on MacOs Catalina

Hello Experts,

I would like to connect CloudConnector on my machine. I've installed java 1.8 version and downloaded the cloud connector file called "sapcc-2.12.4-macosx-x64". When I run the "sh go.sh" command in the sapcc-2.12.4-macosx-x64 directory. It's throwing an error as you can see in the below image. I can't open the https://localhost:8443. I've tried many different things be able to solve that issue. But I couldn't fix that. What should I do to solve this issue ?

Thanks for your support.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

You asked a question. Don't forget to mark the answer that helped you most as correct. Thanks!

For the readers, before you leave, don't forget to up/down vote the answers. You can vote on the question too.

Thanks.

Accepted Solutions (0)

Answers (3)

Answers (3)

dylan-drummond
Contributor

If the advice about creating a new self-signed certificate doesn't solve the issue of being able to open the Cloud Connector URL due to SSL error, then here is one workaround for that (not pretty, but works at least for macOS (Catalina or Big Sur) and for openSUSE 15.2)...

Let's say that your Cloud Connector URL is https://mymacbook.local:8443 or https://localhost:8443 . Open Firefox (if you don't have Firefox, install it, as this workaround only works on Firefox). type in the "deep preferences" URL, which is: about:config - click past the warning by pressing "Accept the Risk and Continue". Search on the string "TLS". Find the key "security.tls.hello_downgrade_check" and change its boolean value to "false". Find the key "security.tls.insecure_fallback_hosts", click on Change icon, and add all hostnames that you want to allow as insecure fallbacks. If you have more than one hostname, separate the hostnames using a comma. So the value string might read "localhost", or "locahost,mymacbook.local". Click the tick-icon to save this value string.

Now you can reload (in Firefox, obviously) your Cloud Connector URL, at which point you get a different screen which warns that the site isn't trusted, but gives you chance to click "Advanced" then click "Accept the Risk and Continue", and now you get to the login screen of Cloud Connector.

dylan-drummond
Contributor

In any case I hope that SAP eventually provides a better solution for this issue - as it isn't ideal, messing around with Firefox TLS settings and thus downgrading security somewhat, just to be able to access the UI of Cloud Connector. So if you are using the TLS settings workaround in the meantime, I would recommend returning those settings to their default ones (i.e. more secure) after each time when you have finished using Cloud Connector.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos
Chrome (and Firefox) block the page on TLS.
  • Firefox: Error code: SSL_ERROR_HANDSHAKE_FAILURE_ALERT
  • Chrome: ERR_SSL_PROTOCOL_ERROR
  • Safari: warnings

See the documentation for how to change the certificate

https://help.sap.com/viewer/cca91383641e40ffbe03bdc78f00f681/Cloud/en-US/bcd5e113c9164ae8a443325692c...

# run the commands from the scc directory 
## read the doc first
java -cp ./plugins/com.sap.scc.rt*.jar -Djava.library.path=./auditor com.sap.scc.jni.SecStoreAccess -path ./scc_config -p

keytool -delete -alias tomcat -keystore ./config/ks.store -storepass x1x2x3x4

keytool -genkey -v -keyalg RSA -alias tomcat -keypass x1x2x3x4 -keystore ./config/ks.store -storepass x1x2x3x4 -dname "CN=SCC, OU=Sales, O=ACME"  

keytool -selfcert -v -alias tomcat -storepass x1x2x3x4 -keystore ./config/ks.store

I've applied the instructions. But still I'm getting same error on the Chrome browser and other browsers too somehow. When I access the SAP Cloud Platform Cockpit I can't see the Configuration Menu on the UI. I think I'm using updated version of the Cloud Platform. Unfortunately, localhost is still not displaying. Are there anything else I can do at this point ?

Here is the SAP Cloud Platform Cockpit UI;

Thanks for your help and support.

dvankempen
Product and Topic Expert
Product and Topic Expert

Hi Mustafa,

Let's see if the community can provide some insights.

Support for on-premise SAP HANA platform connectivity for SAP HANA Cloud leveraging SCC is coming up and I might cover the topic in more detail in a blog/video which provides an opportunity for some more investigation.

0 Kudos

Hi Denys,

Thanks for your support. Hopefully, the issue fix as soon as possible. I'm also using a Windows machine by the way. But I didn't faced with any issue to connect cloud connector. On the other hand different errors show up on MacOs. I've been trying to solve my problem for two days. But unfortunately I couldn't do that 🙂

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mustafa,

  • Downloaded SAP CC from Development tools (link)
  • SAP JVM 8.1 from Software Downloads (link)

Extracted the JVM to a directory inside SCC and pointed JAVA_HOME to this location (using relative path here but normally you would use the full path). When running go.sh the connector started and the website displayed.

0 Kudos

Hi Denys,

First of all thanks for your support. Actually I did same thing that you mentioned. But I'm still not accessing to https://localhost:8443. The browser is displaying that the localhost is not secure. Please take a look at the image.

Thank you.

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

As addendum, here are the steps

  • Download the SAPJVM and extract
  • Download SAPCC and extract
  • Copy SAPCC to a location (e.g. Desktop); optionally change the long name with version to a short name like sapcc
  • Copy the (extracted) sapjvm_8 directory into sapcc
  • Open a terminal and cd to sapcc
  • Set JAVA_HOME with command: export JAVA_HOME=./sapjvm_8
  • Run CC with command ./go.sh