Unable to create project because of SSL

Hi community,

I just try out to set my ssl variable on windows. When I run a small application, it works.
Now, I try to create a project in cuba, to test, if I can make a database connection with this ssl variables.

But I get an “unable to create project” and this error in log:

    2018-03-26 11:14:35,771 INFO  [com.haulmont.studio.backend.n.d] [external_req] Load file content https://repo.cuba-platform.com/content/groups/work/com/haulmont/cuba/cuba-global/maven-metadata.xml
    2018-03-26 11:14:35,848 WARN  [com.haulmont.studio.backend.p.S] Unable to read maven-metadata.xml from 'https://repo.cuba-platform.com/content/groups/work/com/haulmont/cuba/cuba-global/maven-metadata.xml'
    javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1959)
    	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
    	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
    	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1514)
    	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
    	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
    	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
    	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072)
    	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
    	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
    	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
    	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
    	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
    	at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162)
    	at com.haulmont.studio.backend.n.d.c(SourceFile:227)
    	at com.haulmont.studio.backend.n.d.a(SourceFile:245)
    	at com.haulmont.studio.backend.p.S.a(SourceFile:196)
    	at com.haulmont.studio.backend.p.S.a(SourceFile:146)
    	at com.haulmont.studio.backend.p.S.a(SourceFile:127)
    	at com.haulmont.studio.ui.n.aY.a(SourceFile:571)
    	at com.haulmont.studio.ui.n.aY.f(SourceFile:553)
    	at com.haulmont.studio.ui.n.aY.a(SourceFile:67)
    	at com.haulmont.studio.ui.n.bm.layoutClick(SourceFile:462)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
    	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:200)
    	at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:163)
    	at com.vaadin.server.AbstractClientConnector.fireEvent(AbstractClientConnector.java:1037)
    	at com.vaadin.ui.AbstractOrderedLayout.access$000(AbstractOrderedLayout.java:42)
    	at com.vaadin.ui.AbstractOrderedLayout$1.layoutClick(AbstractOrderedLayout.java:51)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:158)
    	at com.vaadin.server.ServerRpcManager.applyInvocation(ServerRpcManager.java:119)
    	at com.vaadin.server.communication.ServerRpcHandler.handleInvocation(ServerRpcHandler.java:444)
    	at com.vaadin.server.communication.ServerRpcHandler.handleInvocations(ServerRpcHandler.java:409)
    	at com.vaadin.server.communication.ServerRpcHandler.handleRpc(ServerRpcHandler.java:274)
    	at 

and so on…

Does anybody have an idea how to solve it?

solved.

You need to mark “offline” in settings of cuba-studio, when you start the browser.
Because cuba use their own “certificate” for access to the repository.