on 10-15-2020 10:04 AM
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
See the documentation for how to change the certificate
# 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
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 🙂
Hi Mustafa,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
As addendum, here are the steps
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.