You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by lucian-cm January 9, 2023
I love the the multi model database concept that arcadedb is providing.
I am having difficulties setting up Arcadedb to run in embedded mode (https://docs.arcadedb.com/#Embedded-Server) using SSL configuration.
I am using com.arcadedb:arcadedb-server:22.11.1
I tried configuring ssl.enabled to true and also provided the rest of the ssl properties documented in the official docs at https://docs.arcadedb.com/#Settings
(ssl.keyStore, ssl.keyStorePass, ssl.trustStore, ssl.trustStorePass) but still Undertow is starting just on HTTP listener only.
Tried starting the Arcadedb server using code similar to below:
ContextConfiguration embeddedArcadeDbServerConfig = new ContextConfiguration();
/**
set up SERVER_ROOT_PATH, SERVER_DATABASE_DIRECTORY, SERVER_DATABASE_LOADATSTARTUP, BUCKET_DEFAULT_PAGE_SIZE and HA_ENABLED keys in a very simple manner (non ha with local file system) and database can be used and is created on the file system.
**/
embeddedArcadeDbServerConfig.setValue("ssl.enabled", Boolean.TRUE);
embeddedArcadeDbServerConfig.setValue("ssl.trustStore", "/path/to/truststore"); // JKS truststore
embeddedArcadeDbServerConfig.setValue("ssl.truststorePass", "truststore_password_cleartext");
embeddedArcadeDbServerConfig.setValue("ssl.keyStore", "/path/to/keystore"); // JKS keystore
embeddedArcadeDbServerConfig.setValue("ssl.keyStorePass", "keystore_password_cleartext");
ArcadeDBServer arcadedbServer = new ArcadeDBServer(embeddedArcadeDbServerConfig);
arcadedbServer.start();
only http listener is added for Undertow irrespective of ssl.enabled=true or ssl.enabled=false
Can you provide some guidance on how to achieve this use case?
Note that the default port for HTTPs is configured under the new global setting:
SERVER_HTTPS_INCOMING_PORT("arcadedb.server.httpsIncomingPort",
"TCP/IP port number used for incoming HTTPS connections. Specify a single port or a range `<from-<to>`. Default is 2490-2499 to accept a range of ports in case they are occupied.",
String.class, "2490-2499"),
Activity
feat: added support for SSL to the ArcadeDB Server
lvca commentedon Jan 16, 2023
This is now supported in the latest
mainbranch.Note that the default port for HTTPs is configured under the new global setting:
And by default is from 2490 to 2499.
lvca commentedon Jan 16, 2023
Docs available at https://docs.arcadedb.com/#_https-connection
[-]How to enable ssl configuration?[/-][+]Support for SSL on ArcadeDB HTTP server[/+]feat: added support for SSL to the ArcadeDB Server