aldettinger commented on code in PR #6314:
URL: https://github.com/apache/camel-quarkus/pull/6314#discussion_r1714800597


##########
integration-tests-support/splunk/README.adoc:
##########
@@ -0,0 +1,16 @@
+=== Development information
+
+* `Security` If no custom certificate is provided, splunk server creates its 
own one and the `SplunkTestResource` copies it from the container into 
`test-classes`
+* `Security` Server certificate has to be signed (that is the reason of using 
keytool in the pom.xml)
+* `Security` SSL connection can be verified by openssl tool
+```
+openssl s_client -connect localhost:32825 -CAfile cacert.pem
+```
+* `Security` Server certificate has to contain a private key, which could not 
be done via keytool itself. Proper way of achieving such certificate is to use 
Openssl tool. The `TestResource` is concatening certificates and keys 
programmatically.
+```
+openssl pkcs12 -export -out combined.p12 -inkey localhost-key.pem -in 
localhost.pem -certfile splunkca.pem
+openssl pkcs12 -in combined.p12 -out combined.pem -nodes
+```
+* Set log level to debug for `org.apache.camel.quarkus.test.support.splunk` 
(by adding 
`quarkus.log.category.\"org.apache.camel.quarkus.test.support.splunk\".level=DEBUG`
 into application.properties) to see more important infirmation from runtime.

Review Comment:
   ```suggestion
   * Set log level to debug for `org.apache.camel.quarkus.test.support.splunk` 
(by adding 
`quarkus.log.category.\"org.apache.camel.quarkus.test.support.splunk\".level=DEBUG`
 into application.properties) to see more important information from runtime.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to