You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2021/02/12 22:16:00 UTC

[jira] [Comment Edited] (NIFI-8127) Https work with jdk certificate

    [ https://issues.apache.org/jira/browse/NIFI-8127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282047#comment-17282047 ] 

David Handermann edited comment on NIFI-8127 at 2/12/21, 10:15 PM:
-------------------------------------------------------------------

[~senal] Is the {{Remote URL}} property value in {{InvokeHTTP}} a service that you maintain, or something from another provider?  If that service is using a certificate issued from an authority other than one of the standard trusted certificate issues, then the {{jre/lib/security/cacerts}} will not work.  In order to interact with a service that uses a certificate issued from a non-standard authority, it is necessary to create a new trust store, import the certificate into that trust store, and configured {{StandardSSLContextService}} to reference that trust store file.


was (Author: exceptionfactory):
[~senal] Is the {{Remote URL}} property value in {{InvokeHTTP}} a service that you maintain, or something from another provider?  If that service is using a certificate issued from an authority other than one of the standard trusted certificate issues, then the {{jire/lib/security/cacerts}} will not work.  In order to interact with a service that uses a certificate issued from a non-standard authority, it is necessary to create a new trust store, import the certificate into that trust store, and configured {{StandardSSLContextService}} to reference that trust store file.

> Https work with jdk certificate
> -------------------------------
>
>                 Key: NIFI-8127
>                 URL: https://issues.apache.org/jira/browse/NIFI-8127
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: chen
>            Priority: Major
>         Attachments: image-2021-01-09-20-55-29-609.png, image-2021-01-09-20-56-27-819.png, image-2021-01-09-20-57-49-673.png, image-2021-01-09-20-57-59-752.png
>
>
> Hi.I user invokehttp post a request,but I can't get the result.I don't know how to let the request trust all certificate.I don't have it,so I used the certificate in java.
> My configuration is like this:
> !image-2021-01-09-20-55-29-609.png!
> !image-2021-01-09-20-56-27-819.png!
> StandardSSLContextService Configuration is like this:
> !image-2021-01-09-20-57-49-673.png!
> this is a file named certificate in java jdk.Pls tell me why there is no error log and I can't receive anylthing.Thank you for help.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)