cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration file not found and keystore does not contains a certificate in sapcc

murali208
Discoverer
0 Kudos

Experts,
Greetings!!I got following error while could was connecting to SAP BTP(CPI) subaccount.I have chekced all the required prerequisites. However I have maintained JDK & JVM-8.0 and sapcc-2.15.2 in my systems I have encountered the following error.Could you please suggest me with a solution in the below issues get fixed.------------------------------------------------Ijs_trace.log-----------------------------------------------------
FILE_TYPE:DAAA96DE-B0FB-4c6e-AF7B-A445F5BF9BE2FILE_ID:1689332570554 ENCODING:[UTF8|NWCJS:ASCII] RECORD_SEPARATOR:124 COLUMN_SEPARATOR:35 ESC_CHARACTER:92 COLUMNS:Time|Severity|Logger|Thread|Text| SEVERITY_MAP:FINEST|Information|FINER|Information|FINE|Information|CONFIG|Information|DEBUG|Information|PATH|Information|INFO|Information|WARNING|Warning|ERROR|Error|SEVERE|Error|FATAL|Error HEADER_END 2023-07-14 16:32:53,259 +0530#INFO#com.sap.scc.tomcat#localhost-startStop-1# #PropertyDigester.getProperty(catalina.base) 2023-07-14 16:33:10,035 +0530#INFO#com.sap.scc.rt#localhost-startStop-1# #Register shutdown tunnel hook. 2023-07-14 16:33:10,085 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #Native library sapscc20jni.dll has already been loaded before 2023-07-14 16:33:10,087 +0530#INFO#com.sap.scc.config#OtherActiveSccInstanceChecker# #Start SCC in C:\SAP\scc20 2023-07-14 16:33:10,222 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #Property networkaddress.cache.ttl is not provided. Use default 86400 2023-07-14 16:33:10,222 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# # Property ni.dnscache.ttl is not provided. Use default 86400 2023-07-14 16:33:10,225 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #Read "10" for property networkaddress.cache.negative.ttl 2023-07-14 16:33:10,227 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# # Property ni.dnscache.negative.ttl is not provided. Use default 10 2023-07-14 16:33:10,227 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #Init class CpicConnection 2023-07-14 16:33:10,271 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #Own hostname: LAPTOP-MUR1920 2023-07-14 16:33:10,271 +0530#INFO#com.sap.scc.jni#OtherActiveSccInstanceChecker# #CpicConnections are ready to use 2023-07-14 16:33:10,438 +0530#INFO#com.sap.scc.config#OtherActiveSccInstanceChecker# #Configuration file not found: C:\SAP\scc20\scc_config\scc_config.ini 2023-07-14 16:33:10,551 +0530#INFO#com.sap.scc.startup#OtherActiveSccInstanceChecker# #Starting Cloud Connector runtime - check for active instances 2023-07-14 16:33:11,505 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #Using keystore C:\SAP\scc20\config\ks.p12 2023-07-14 16:33:11,509 +0530#INFO#com.sap.scc.config#localhost-startStop-1# # Configuration file not found: C:\SAP\scc20\scc_config\scc_config.ini 2023-07-14 16:33:11,522 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #Initialize SCC runtime configuration 2023-07-14 16:33:11,842 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: creating instance took 959ms 2023-07-14 16:33:18,713 +0530#INFO#com.sap.scc.security#localhost-startStop-1# #New RSA key pair was generated with key size 4096 in 6855 ms 2023-07-14 16:33:18,877 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: registering services took 7035ms 2023-07-14 16:33:18,877 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: checking HA status took 0ms 2023-07-14 16:33:20,122 +0530#INFO#com.sap.scc.security#localhost-startStop-1# #New RSA key pair was generated with key size 4096 in 1243 ms 2023-07-14 16:33:20,695 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #Created a new key with certificate for audit log with serial 1689332600147 2023-07-14 16:33:20,816 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: loading common data took 1938ms 2023-07-14 16:33:20,816 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: loading accounts took 0ms 2023-07-14 16:33:20,821 +0530#INFO#com.sap.scc.monitor#localhost-startStop-1# #Schedule history value collector with period 15000 at 1689332600821 2023-07-14 16:33:20,834 +0530#INFO#com.sap.scc.alerts#localhost-startStop-1# #Schedule history value collector with period 30000 at 1689332600834 2023-07-14 16:33:20,834 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #Cleanup timer started -- cleanup starting in one hour from now and then is executed at that time every day 2023-07-14 16:33:20,834 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: initializing services took 18ms 2023-07-14 16:33:20,834 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: restoring account states took 0ms 2023-07-14 16:33:20,840 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: loading HA state took 6ms 2023-07-14 16:33:20,843 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: loading LMDB took 3ms 2023-07-14 16:33:20,843 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: loading changeable JVM properties took 0ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: finishing startup took 13ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: salvaging custom regions took 0ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: Total subaccount creation time is 0ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: Total audit key generation time is 0ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: Total subaccount initialization time is 0ms 2023-07-14 16:33:20,859 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #SccConfig initialization: total time is 9976ms 2023-07-14 16:33:22,028 +0530#INFO#com.sap.ui5.resource.impl.ServletResourceConfig#localhost-startStop-1# #Using log configuration from: jar:file:/C:/SAP/scc20/webapps/ROOT/WEB-INF/lib/resource-1.96.18.jar!/logging.properties 2023-07-14 16:33:22,051 +0530#INFO#com.sap.scc.config#localhost-startStop-1# #Using truststore C:\SAP\scc20\config\ks.p12 2023-07-14 16:33:22,051 +0530#INFO#com.sap.scc.ui#localhost-startStop-1# #Cloud Connector 2.15.2 started on https://laptop-mur1920:8443 (instance role is undefined) 2023-07-14 16:33:22,051 +0530#INFO#com.sap.scc.ui#localhost-startStop-1# #SAP Cloud Connector 2.15.2 JavaWeb: 3.176.3 Tomcat: 8.5.87.0 Tunnel: 2.371.6 Netty: 4.1.90.Final SCC JNI Lib: 1.2.8 JRE: 1.8.0_371 (SAP AG, C:\Program Files\Java\sapjvm_8\jre) JVM: SAP Java Server VM (SAP AG, 8.1.094 11.0.19+000, May 8 2023 15:29:45 - 81_REL - optU - windows amd64 - 6 - bas2:337253 (mixed mode)) OS: Windows 11 (10.0) User: SYSTEM Dir: C:\SAP\scc20 Installation: installer HA Info: Role undefined 2023-07-14 16:34:23,641 +0530#INFO#com.sap.scc.startup#OtherActiveSccInstanceChecker# #port check succeeded after 0 ms 2023-07-14 16:34:28,942 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-1# #Password for user Administrator was changed 2023-07-14 16:34:29,046 +0530#INFO#com.sap.scc.monitor#https-jsse-nio2-8443-exec-5# #Stop history value collector with period 15000 at 1689332669046 2023-07-14 16:34:29,115 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-5# #Using keystore C:\SAP\scc20\config\ks.p12 2023-07-14 16:34:29,142 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-5# #Initialize SCC runtime configuration 2023-07-14 16:34:29,276 +0530#INFO#com.sap.scc.monitor#https-jsse-nio2-8443-exec-5# #Schedule history value collector with period 15000 at 1689332669276 2023-07-14 16:34:29,304 +0530#INFO#com.sap.scc.alerts#https-jsse-nio2-8443-exec-5# #Schedule history value collector with period 30000 at 1689332669304 2023-07-14 16:34:30,841 +0530#INFO#com.sap.scc.rt#https-jsse-nio2-8443-exec-8# #SAP JVM (with monitor classes) is loaded 2023-07-14 16:36:28,365 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-2# #load account configuration for dcedc905-03cf-4186-b1cf-c5c65c733d1c@cf.us10.hana.ondemand.com 2023-07-14 16:36:28,486 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-2# #Configuration file not found: C:\SAP\scc20\scc_config\cf.us10.hana.ondemand.com\dcedc905-03cf-4186-b1cf-c5c65c733d1c\scc_config.ini 2023-07-14 16:36:28,565 +0530#WARN#com.sap.scc.config#https-jsse-nio2-8443-exec-2# # Cannot find host mapping configuration file C:\SAP\scc20\scc_config\cf.us10.hana.ondemand.com\dcedc905-03cf-4186-b1cf-c5c65c733d1c\backends.xml 2023-07-14 16:36:30,689 +0530#WARN#com.sap.scc.config#https-jsse-nio2-8443-exec-2# #Creating an sslContextProvider for account dcedc905-03cf-4186-b1cf-c5c65c733d1c@cf.us10.hana.ondemand.com without SSLContext. Keystore did not contain a certificate. 2023-07-14 16:36:30,869 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #TLSSocketFactory: enabled are TLSv1.3, TLSv1.2, TLSv1.1, TLSv1 2023-07-14 16:36:30,942 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #Will retrieve Connectivity CA certificate from SAP Cloud Platform 2023-07-14 16:36:30,942 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #Executing Http Get request to https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/trusted/ca/a... 2023-07-14 16:36:33,238 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/trusted/ca/account/dcedc905-03cf-4186-b1cf-c5c65c733d1c Returned Http Response with code 200 2023-07-14 16:36:33,253 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #Connectivity CA certificate retrieved successfully from SAP Cloud Platform 2023-07-14 16:36:34,620 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #New RSA key pair was generated with key size 4096 in 1327 ms 2023-07-14 16:36:34,669 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #Send Certificate Signing Request for Cloud Connector certificate to SAP Cloud Platform 2023-07-14 16:36:34,669 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #Executing Http Post request to https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/sign/account... 2023-07-14 16:36:38,600 +0530#INFO#com.sap.scc.security#https-jsse-nio2-8443-exec-2# #https://connectivitycertsigning.cf.us10.hana.ondemand.com:443/certificate/management/v1/sign/account/dcedc905-03cf-4186-b1cf-c5c65c733d1c Returned Http Response with code 401 2023-07-14 16:36:38,604 +0530#INFO#com.sap.scc.config#https-jsse-nio2-8443-exec-2# #Stopping service channels on dcedc905-03cf-4186-b1cf-c5c65c733d1c[POC]@cf.us10.hana.ondemand.com 2023-07-14 16:36:38,617 +0530#INFO#com.sap.scc#https-jsse-nio2-8443-exec-2# #An error occurred when trying to connect. See ''Log And Trace Files'' and in particular ljs_trace.log for details. com.sap.scc.servlets.RequestFailureExecution$InvalidConfiguration: An error occurred when trying to connect. See ''Log And Trace Files'' and in particular ljs_trace.log for details. at com.sap.scc.ui.SubaccountControl.createSubaccount(SubaccountControl.java:122) at com.sap.scc.servlets.ConfigurationServlet.addAccount(ConfigurationServlet.java:1370) at com.sap.scc.servlets.ConfigurationServlet.dispatch(ConfigurationServlet.java:217) at com.sap.scc.servlets.ServletUtilities.service(ServletUtilities.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:582) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:212) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:22) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:181) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:156) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:609) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:682) at com.sap.js.statistics.tomcat.valve.RequestTracingValve.callNextValve(RequestTracingValve.java:113) at com.sap.js.statistics.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:59) at com.sap.core.js.monitoring.tomcat.valve.RequestTracingValve.invoke(RequestTracingValve.java:27) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:617) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:932) at org.apache.tomcat.util.net.Nio2Endpoint$SocketProcessor.doRun(Nio2Endpoint.java:1720) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.net.AbstractEndpoint.processSocket(AbstractEndpoint.java:1259) at org.apache.tomcat.util.net.Nio2Endpoint$Nio2SocketWrapper$2.completed(Nio2Endpoint.java:644)------------------------------------------------------------End--------------------------------------------------------------------------------------

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert

You try to connect the subaccount to BTP, but use wrong credentials, potentially, you need to use a second factor, check https://help.sap.com/docs/connectivity/sap-btp-connectivity-cf/managing-subaccounts#procedure how to use it

Best regards,
Markus

murali208
Discoverer
0 Kudos
Thank you  @Markus,

I have assigned could a role connector administrator and connectivity& destination administrator in subaccount.
I used correct region, subaccount ID, mail adrress and password of my subaccount but still i am experiencing the same issue.
Please let me know if there are any configuration files to be maintained or if there is different configuration to be done for trial account.

Thanks & Regards,
G Murali
MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Murali,

there are no specifics for trial subaccounts. Validate again that all elements identifying the credentials are correct. Region (Host), subaccount, login email, and password. If the roles are already correct then you should be able to connect. If not check cloud side logs and traces that are accessible to you

Best regards,
Markus