openssl req -nodes -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX
gremlin server started correctly, and I can do curl with "curl -cacert cert.pem"
however, if I generate the key/cent using passphrase,
openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX
gremlin would give following error
ssl.keyFile | The |
openssl pkcs8 -topk8 -inform pem -in key.pem -outform pem -out pk8.pem
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/b4eb540d-ea91-4b48-9093-385b4b44284b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Robert Dale
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/2a1ada04-5201-495b-a2d9-bf48e3d2d241%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CABed_4oGd%3DhpS3WVK_DGH6ZDoZQvcW6LSUD6jL%3DdoB%3Dicn2Atg%40mail.gmail.com.
Robert Dale
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/27f9fb8b-0bb3-4787-a82f-337098a141db%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H43_iWAY72o%2BnTPKApQ_JAV_wdM2YzKuz7LW2wG6AT2aghg%40mail.gmail.com.
Robert Dale
Robert Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/27f9fb8b-0bb3-4787-a82f-337098a141db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/8621004e-289b-484d-a14c-b1a01a2ad33d%40googlegroups.com.
Robert Dale
Robert Dale
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/9cf04115-fadb-43cb-a268-5a301a9da723%40googlegroups.com.
in the After section of my post where I have "enabled: false" I mean to put "enabled: true,"
On Thursday, July 27, 2017 at 1:10:41 PM UTC-6, Robbie Runka wrote:Before:host: [removed]
port: 8182threadPoolWorker: 1gremlinPool: 8scriptEvaluationTimeout: 30000serializedResponseTimeout: 30000channelizer: org.apache.tinkerpop.gremlin.server.channel.HttpChannelizergraphs: {
graph: conf/gremlin-server/dynamodb.properties}
plugins:- aurelius.titanscriptEngines: {gremlin-groovy: {imports: [java.lang.Math],staticImports: [java.lang.Math.PI],scripts: [scripts/empty-sample.groovy]},nashorn: {imports: [java.lang.Math],staticImports: [java.lang.Math.PI]}}serializers:- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { useMapperFromGraph: graph }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { serializeResultToString: true }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0, config: { useMapperFromGraph: graph }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0, config: { useMapperFromGraph: graph }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV1d0] }} # application/json
processors:- { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }}metrics: {
consoleReporter: {enabled: false, interval: 180000},csvReporter: {enabled: false, interval: 180000, fileName: /tmp/gremlin-server-metrics.csv},jmxReporter: {enabled: false},slf4jReporter: {enabled: false, interval: 180000},
gangliaReporter: {enabled: false, interval: 180000, addressingMode: MULTICAST},graphiteReporter: {enabled: false, interval: 180000}}threadPoolBoss: 1maxInitialLineLength: 4096maxHeaderSize: 8192maxChunkSize: 8192maxContentLength: 65536maxAccumulationBufferComponents: 1024resultIterationBatchSize: 64writeBufferHighWaterMark: 32768writeBufferHighWaterMark: 65536ssl: {
enabled: false}After:host: [removed]
port: 8182threadPoolWorker: 1gremlinPool: 8scriptEvaluationTimeout: 30000serializedResponseTimeout: 30000channelizer: org.apache.tinkerpop.gremlin.server.channel.HttpChannelizergraphs: {
graph: conf/gremlin-server/dynamodb.properties}
plugins:- aurelius.titanscriptEngines: {gremlin-groovy: {imports: [java.lang.Math],staticImports: [java.lang.Math.PI],scripts: [scripts/empty-sample.groovy]},nashorn: {imports: [java.lang.Math],staticImports: [java.lang.Math.PI]}}serializers:- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { useMapperFromGraph: graph }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { serializeResultToString: true }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerGremlinV1d0, config: { useMapperFromGraph: graph }}- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV1d0, config: { useMapperFromGraph: graph }}
- { className: org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0, config: { ioRegistries: [org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerIoRegistryV1d0] }} # application/json
processors:- { className: org.apache.tinkerpop.gremlin.server.op.session.SessionOpProcessor, config: { sessionTimeout: 28800000 }}metrics: {
consoleReporter: {enabled: false, interval: 180000},csvReporter: {enabled: false, interval: 180000, fileName: /tmp/gremlin-server-metrics.csv},jmxReporter: {enabled: false},slf4jReporter: {enabled: false, interval: 180000},
gangliaReporter: {enabled: false, interval: 180000, addressingMode: MULTICAST},graphiteReporter: {enabled: false, interval: 180000}}threadPoolBoss: 1maxInitialLineLength: 4096maxHeaderSize: 8192maxChunkSize: 8192maxContentLength: 65536maxAccumulationBufferComponents: 1024resultIterationBatchSize: 64writeBufferHighWaterMark: 32768writeBufferHighWaterMark: 65536ssl: {
enabled: falsekeyFile: robbie_server.pk8,keyCertChainFile: robbie_server.crt,trustCertChainFile: server-trusted.crt,keyPassword: changeit}
Robert Dale
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/9cf04115-fadb-43cb-a268-5a301a9da723%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c6c8f014-c053-4149-8c15-d7f0c2a7dfd9%40googlegroups.com.
Before:
what's the server version?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/4a10ca7b-2385-47de-9c91-e67da92a5d2f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/6c855497-8e69-41d1-a282-35c51b1921a6%40googlegroups.com.
What if you run it with just:ssl: {enabled: true}
Robert Dale
On Thu, Jul 27, 2017 at 3:33 PM, Robbie Runka <robbie...@gmail.com> wrote:
Yes it does. The result of that command isSLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/usr/local/packages/dynamodb-titan100-storage-backend-1.0.0-hadoop1/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/usr/local/packages/dynamodb-titan100-storage-backend-1.0.0-hadoop1/lib/logback-classic-1.1.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [jar:file:/usr/local/packages/dynamodb-titan100-storage-backend-1.0.0-hadoop1/ext/dynamodb-titan100-storage-backend/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]gremlin 3.0.1-incubatingThe only thing is I am not using the gremlin console for interaction. I am starting the server and interacting via HttpChannelizer and the RESTful API. Everything runs fine when the SSL is disabled.
On Thursday, July 27, 2017 at 1:25:24 PM UTC-6, Robert Dale wrote:Does it include gremlin console? ./bin/gremlin.sh -vOr, `find | grep gremlin.*jar`Robert Dale
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
296 [main] ERROR org.apache.tinkerpop.gremlin.server.GremlinServer - Configuration file at /usr/local/packages/dynamodb-janusgraph-storage-backend-1.1.1/conf/gremlin-server/gremlin-server.yaml could not be found or parsed properly. [null; Can't construct a java object for tag:yaml.org,2002:org.apache.tinkerpop.gremlin.server.Settings; exception=Cannot create property=ssl for JavaBean=org.apache.tinkerpop.gremlin.server.Settings@33723e30; Cannot create property=needClientAuth for JavaBean=org.apache.tinkerpop.gremlin.server.Settings$SslSettings@43bd930a; Unable to find property 'needClientAuth' on class: org.apache.tinkerpop.gremlin.server.Settings$SslSettings; in 'reader', line 18, column 1:
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c4e4c081-4eec-414a-8bce-2f5f6a413807%40googlegroups.com.