Skip to Content
0

Setting up a CA Certificate in SAP HANA Cloud Connector

Jan 31, 2017 at 10:08 AM

414

avatar image

I've now connected fine. My issue is now generating a CA Certificate in HCC

I go to Configuration > On Premise > CA Certificate.

Then in to Generate CSR and complete the following fields.

Common Name (CN) Email Address (EMAIL) Locality (L) Organizational Unit (OU) Organization (O) State or Province (ST) Country (C) Domain Component (DC)

This creates the scc_ca_csr_pem file, but when I try to upload it. I get an error in the log.

Any Ideas?

+0000#ERROR#com.sap.scc.ui#http-bio-8443-exec-6##importing certificate    chain failed
java.security.cert.CertificateException: Error parsing certificates!    iaik.asn1.DerInputException:Next ASN.1objectisnoOBJECTIDENTIFIER!at iaik.x509.CertificateFactory.engineGenerateCertificates(Unknown Source)at   com.sap.scc.servlets.ConfigurationServlet.readX509Certificate(ConfigurationServl    et.java:863)at      com.sap.scc.servlets.ConfigurationServlet.importCertificate(ConfigurationServlet.java:808)at    com.sap.scc.servlets.ConfigurationServlet.uploadCertificate(ConfigurationServlet.java:976)at com.sap.scc.servlets.ConfigurationServlet.dispatch(ConfigurationServlet.java:120)at com.sap.scc.servlets.ServletUtilities.service(ServletUtilities.java:41)at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)at  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at com.sap.scc.ui.rt.UTF8Filter.doFilter(UTF8Filter.java:23)at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:958)at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:452)at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1087)at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)at java.lang.Thread.run(Thread.java:745)|
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Matthieu Pelatan
Feb 06, 2017 at 02:07 PM
0

Hi Adam,

not sure to understand well where you uploaded the generated .pem file...

Could you please give more details?

Best,

Matthieu

Share
10 |10000 characters needed characters left characters exceeded