Hi Kaizer,

After some try, I'm still stuck. Here the error i get in log file :


2016-06-06T10:53:27.650+02:00 WARN  [ProxiedResource] Unable to call 
> https://graylog.loc:12900/system/metrics/multiple on node 
> <cf9d4d3b-bfce-4cde-a2e6-db0a7c247ad4>, caught exception: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target (class 
> javax.net.ssl.SSLHandshakeException)
>
 

> 2016-06-06T10:53:28.236+02:00 WARN  [ProxiedResource] Unable to call 
> https://graylog.loc:12900/system/inputstates on node 
> <cf9d4d3b-bfce-4cde-a2e6-db0a7c247ad4>, caught exception: 
> sun.security.validator.ValidatorException: PKIX path building failed: 
> sun.security.provider.certpath.SunCertPathBuilderException: unable to find 
> valid certification path to requested target (class 
> javax.net.ssl.SSLHandshakeException)


I can connect on the server. See the previous message. But input are stop 
and i can't start them.

Here the command line i wrote to generate ssl cert and key (based on the 
docs)

sudo openssl req -x509 -days 3650 -nodes -newkey rsa:2048 -keyout 
> pkcs5-plain.pem -out cert.pem
> sudo openssl pkcs8 -in pkcs5-plain.pem -topk8 -nocrypt -out pkcs8-plain.pem
> sudo vim host.p12
> sudo chmod 777 host.p12
> sudo openssl pkcs12 -export -in cert.pem -inkey pkcs8-plain.pem > host.p12
> sudo keytool -importkeystore -srckeystore host.p12 -destkeystore 
> graylog.jks -srcstoretype pkcs12
> sudo keytool -list -v -keystore graylog.jks
> sudo keytool -importkeystore -srckeystore graylog.jks -destkeystore 
> graylog.p12 -deststoretype PKCS12
> sudo openssl pkcs12 -in graylog.p12 -nokeys -out graylog-certificate.pem
> sudo openssl pkcs12 -in graylog.p12 -nocerts -out graylog-pkcs5.pem
> sudo openssl pkcs8 -in graylog-pkcs5.pem -topk8 -out graylog-key.pem


I'm not sure if i use the right way to make the keystore.

Thank for the help :)


-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/a3c103d1-84cb-4352-9e94-ce9733fa36ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to