gpt4 book ai didi

hyperledger-fabric - Hyperledger Fabric 在启用 TLS 的情况下实现,也可以在没有 TLS 的情况下工作?

转载 作者:行者123 更新时间:2023-12-04 07:54:39 25 4
gpt4 key购买 nike

I have enabled TLS in my Fabric implementation but it still can beused without TLS!!?


网络已启用并启用 TLS。当我使用 (--tls true --cafile "file path") 选项查询分类帐时,它工作正常,但当我在没有 (--tls true --cafile "file path") 选项的情况下查询时,它显示错误,但在即,它显示“状态:200”并包含查询的数据和证书!!!:
Error: error sending transaction for invoke: could not send: EOF - proposal response: version:1 response:<status:200 payload:"[{\"Key\":\"CAR0\", \"Record\":{\"make\":\"Toyota\",\"model\":\"Prius\",\"colour\":\"blue\",\"owner\":\"Tomoko\"}},{\"Key\":\"CAR1\", \"Record\":{\"make\":\"Ford\",\"model\":\"Mustang\",\"colour\":\"red\",\"owner\":\"Brad\"}},{\"Key\":\"CAR2\", \"Record\":{\"make\":\"Hyundai\",\"model\":\"Tucson\",\"colour\":\"green\",\"owner\":\"Jin Soo\"}},{\"Key\":\"CAR3\", \"Record\":{\"make\":\"Volkswagen\",\"model\":\"Passat\",\"colour\":\"yellow\",\"owner\":\"Max\"}},{\"Key\":\"CAR4\", \"Record\":{\"make\":\"Tesla\",\"model\":\"S\",\"colour\":\"black\",\"owner\":\"Adriana\"}},{\"Key\":\"CAR5\", \"Record\":{\"make\":\"Peugeot\",\"model\":\"205\",\"colour\":\"purple\",\"owner\":\"Michel\"}},{\"Key\":\"CAR6\", \"Record\":{\"make\":\"Chery\",\"model\":\"S22L\",\"colour\":\"white\",\"owner\":\"Aarav\"}},{\"Key\":\"CAR7\", \"Record\":{\"make\":\"Fiat\",\"model\":\"Punto\",\"colour\":\"violet\",\"owner\":\"Pari\"}},{\"Key\":\"CAR8\", \"Record\":{\"make\":\"Tata\",\"model\":\"Nano\",\"colour\":\"indigo\",\"owner\":\"Valeria\"}},{\"Key\":\"CAR9\", \"Record\":{\"make\":\"Holden\",\"model\":\"Barina\",\"colour\":\"brown\",\"owner\":\"Shotaro\"}}]" > payload:"\n \233D\031\273FGX\321\340/\004\324\256\234i\311\242\036(\321\233= 2\206\020\025\363;\262Mc\022\351\010\n\263\001\022\230\001\n\006fabcar\022\215\001\022\212\001\n\004CAR0\022\006CAR999\030\001\"x\n\n\n\004CAR0\022\002\010\003\n\n\n\004CAR1\022\002\010\003\n\n\n\004CAR2\022\002\010\003\n\n\n\004CAR3\022\002\010\003\n\n\n\004CAR4\022\002\010\003\n\n\n\004CAR5\022\002\010\003\n\n\n\004CAR6\022\002\010\003\n\n\n\004CAR7\022\002\010\003\n\n\n\004CAR8\022\002\010\003\n\n\n\004CAR9\022\002\010\003\022\026\n\004lscc\022\016\n\014\n\006fabcar\022\002\010\001\032\241\007\010\310\001\032\233\007[{\"Key\":\"CAR0\", \"Record\":{\"make\":\"Toyota\",\"model\":\"Prius\",\"colour\":\"blue\",\"owner\":\"Tomoko\"}},{\"Key\":\"CAR1\", \"Record\":{\"make\":\"Ford\",\"model\":\"Mustang\",\"colour\":\"red\",\"owner\":\"Brad\"}},{\"Key\":\"CAR2\", \"Record\":{\"make\":\"Hyundai\",\"model\":\"Tucson\",\"colour\":\"green\",\"owner\":\"Jin Soo\"}},{\"Key\":\"CAR3\", \"Record\":{\"make\":\"Volkswagen\",\"model\":\"Passat\",\"colour\":\"yellow\",\"owner\":\"Max\"}},{\"Key\":\"CAR4\", \"Record\":{\"make\":\"Tesla\",\"model\":\"S\",\"colour\":\"black\",\"owner\":\"Adriana\"}},{\"Key\":\"CAR5\", \"Record\":{\"make\":\"Peugeot\",\"model\":\"205\",\"colour\":\"purple\",\"owner\":\"Michel\"}},{\"Key\":\"CAR6\", \"Record\":{\"make\":\"Chery\",\"model\":\"S22L\",\"colour\":\"white\",\"owner\":\"Aarav\"}},{\"Key\":\"CAR7\", \"Record\":{\"make\":\"Fiat\",\"model\":\"Punto\",\"colour\":\"violet\",\"owner\":\"Pari\"}},{\"Key\":\"CAR8\", \"Record\":{\"make\":\"Tata\",\"model\":\"Nano\",\"colour\":\"indigo\",\"owner\":\"Valeria\"}},{\"Key\":\"CAR9\", \"Record\":{\"make\":\"Holden\",\"model\":\"Barina\",\"colour\":\"brown\",\"owner\":\"Shotaro\"}}]\"\r\022\006fabcar\032\0031.0" endorsement:<endorser:"\n\007Org2MSP\022\246\006-----BEGIN CERTIFICATE-----\nMIICJzCCAc6gAwIBAgIQNt6ipT8t8uI270UqogU2PDAKBggqhkjOPQQDAjBzMQsw\nCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZy\nYW5jaXNjbzEZMBcGA1UEChMQb3JnMi5leGFtcGxlLmNvbTEcMBoGA1UEAxMTY2Eu\nb3JnMi5leGFtcGxlLmNvbTAeFw0xOTA3MTgwMjAyMDBaFw0yOTA3MTUwMjAyMDBa\nMGoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T\nYW4gRnJhbmNpc2NvMQ0wCwYDVQQLEwRwZWVyMR8wHQYDVQQDExZwZWVyMC5vcmcy\nLmV4YW1wbGUuY29tMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAETEK+ebGCoIyO\nbAllygaCJyJarNl3JfgNS+XmjaiLrGglGTTf7lMKYO1qWSvUBz8WqLulShuhE8SQ\nRglFrqsRX6NNMEswDgYDVR0PAQH/BAQDAgeAMAwGA1UdEwEB/wQCMAAwKwYDVR0j\nBCQwIoAgGxsBgDB0zkmbzU9yqXaA/NRE74CmmXrQ7L+CqyltfUkwCgYIKoZIzj0E\nAwIDRwAwRAIgZGUOMYic/qthij3uRJTFy5Kx5CRIawbcReQIITW1mxcCIDmS6WUK\nawDOk5svkb8joIJlKJwfm70AE8+TDtkDA4gQ\n-----END CERTIFICATE-----\n" signature:"0D\002 Q\305\361\246\352\201\213\204\033\226lmq\253\000\243\273!\310\3524on\321\234,\266\276'F\217M\002 \032\275W\250\372\035\270k+^\276\255@4+\340N\343\376\343\225N\024x\232\372\372\210}\305\240*" >

最佳答案

TLS 已启用或已禁用。没有同时支持 TLS 和不支持 TLS 的混合模式。

关于hyperledger-fabric - Hyperledger Fabric 在启用 TLS 的情况下实现,也可以在没有 TLS 的情况下工作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58362067/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com