Closed prlcutting closed 2 years ago
I activated the 14 day free trial subscription for the cloud service, but the same problem remains.
The error message suggests that your computer doesn't trust the structurizr.com SSL certificate, and this is likely caused by something like the following:
You'll likely find that it works okay on another computer/network. Searching for javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
might provide some suggestions on how to resolve the problem.
Alternatively, rather than using the CLI, you might try configuring auto-sync in Structurizr Lite instead, as the web API call will be made directly from the Docker container instead of your computer.
@prlcutting I was able to make it work.
Basically you will need to download your *.cer certificate from your server/website where you are able to authenticate via HTTPS through a webbrowser. You can then import the cert into the structurizer-cli java truststore Then you should be able to push to your URL.
Here is a guide I followed. https://medium.com/expedia-group-tech/how-to-import-public-certificates-into-javas-truststore-from-a-browser-a35e49a806dc
Apologies for the delayed response to this. Thank you both for the input, suggestions and reference information. I got pulled onto other assignments recently, but hope to get back to this later this week or next. I might try the auto-sync option as the easiest route to try first, and then pursue the certificate approach. Thanks again.
I use Structurizr Lite locally in a Docker container to author my content. I want to use the Structurizr CLI to publish my
workspace.dsl
file (no custom diagram layout yet) to my Structurizr cloud account. This is currently a free account while we evaluate Structurizr, but the intent is to purchase a cloud account. I've followed the instructions, and think I have everything set up correctly. Here's the PowerShell script I'm running (with the appropriate variables/secrets substituted of course):However, the
push
command fails with the following log message:Am I doing something wrong, or is this a problem on the backend? Is this something available only with a paid account? I did search the docs to see if there were any hints of this. In the Products comparison table, I did see a note that said "API and storage limitations apply", but I couldn't find a description of what those limitations are, so perhaps that is the problem?
Thanks in advance for any guidance.