question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Background

Hi team, thanks for quickly addressing my other issue today.

First of all: should this issue be a duplicate, my apologies - just link me to the first one; also because SSL support sounds important - perhaps I’m missing something myself; it’s been a long coding day - sorry in advance.

As we make progress, the ArangoDB instance we use works on HTTPS because it is a production one.

When initializing the db with: java -jar admin-0.4.2.jar db-init http+ssl://root:test@<IP>/spline we get: java.io.IOException: Reached the end of the stream. This version is the latest I see.

We know that this could be caused by the protocol mismatch, but the command works against an unsecure Arango, and we have the suspect that this is just a failed SSL handshake actually. With the official arangosh client, making an unsecure connection to a secure server will fail indeed.

By looking at the code it looks like the builder has no SSL at all, see here, indeed there is only one schema in the admin client, arangodb. In the Java driver they have an example.

Feature

The requested feature is to support SSL, possibly with a different scheme, like arangodbs or arangodb+ssl.

Example [Optional]

See the builder example for SSL above from the driver codebase.

Proposed Solution [Optional]

It does not seem like a lot of work so I cannot promise anything but we might submit a patch ourselves - that would take time though.

Thanks again!

cc @patrickdehoon

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wajdacommented, Mar 26, 2020

Ok, please do. We’ll take it from there.

0reactions
wajdacommented, Apr 8, 2020

The protocol selection topic has moved to #631 arangodbs schema looks good to me for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is an SSL Certificate? - DigiCert.com
An SSL certificate issued by a CA to an organization and its domain/website verifies that a trusted third party has authenticated that organization's...
Read more >
What is SSL? - SSL.com
An SSL certificate (also known as a TLS or SSL/TLS certificate) is a digital document that binds the identity of a website to...
Read more >
What is SSL (Secure Sockets Layer)? - Cloudflare
Secure Sockets Layer (SSL) is an encryption security protocol. Transport Layer Security ... In fact, most modern web browsers no longer support SSL...
Read more >
SSL Support Desk - CSR Instructions, SSL Installation ...
CSR Instructions, SSL Installation Intructions and Intermediate Certificates.
Read more >
A Beginner's Guide to SSL: What It is & Why It ... - HubSpot Blog
SSL certificates are a small data files that cryptographically establish an encrypted link between a web server and a browser. This link ensures ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found