Openssl EAP-TLS主机APD中没有共享密码

Openssl EAP-TLS主机APD中没有共享密码,openssl,hostapd,eap-tls,Openssl,Hostapd,Eap Tls,我在使用openssl建立EAP-TLS连接时遇到握手错误: OpenSSL:OpenSSL\u握手-SSL\u连接错误:1408A0C1:SSL例程:ssl3\u get\u client\u hello:无共享密码 如果我执行tcp转储,客户端建议: Handshake Protocol: Client Hello Handshake Type: Client Hello (1) Length: 152 Version: TLS 1.2 (0x0303) Ra

我在使用openssl建立EAP-TLS连接时遇到握手错误:

OpenSSL:OpenSSL\u握手-SSL\u连接错误:1408A0C1:SSL例程:ssl3\u get\u client\u hello:无共享密码

如果我执行tcp转储,客户端建议:

Handshake Protocol: Client Hello
    Handshake Type: Client Hello (1)
    Length: 152
    Version: TLS 1.2 (0x0303)
    Random: df16d44296d2e9096fb795f0454f0ae630c2ff22236621cd...
    Session ID Length: 0
    Cipher Suites Length: 60
    Cipher Suites (30 suites)
    Compression Methods Length: 1
    Compression Methods (1 method)
        Compression Method: null (0)
    Extensions Length: 51
    Extension: renegotiation_info (len=1)
        Type: renegotiation_info (65281)
        Length: 1
        Renegotiation Info extension
            Renegotiation info extension length: 0
    Extension: extended_master_secret (len=0)
        Type: extended_master_secret (23)
        Length: 0
    Extension: signature_algorithms (len=20)
        Type: signature_algorithms (13)
        Length: 20
        Signature Hash Algorithms Length: 18
        Signature Hash Algorithms (9 algorithms)
            Signature Algorithm: ecdsa_secp256r1_sha256 (0x0403)
                Signature Hash Algorithm Hash: SHA256 (4)
                Signature Hash Algorithm Signature: ECDSA (3)
            Signature Algorithm: rsa_pss_rsae_sha256 (0x0804)
                Signature Hash Algorithm Hash: Unknown (8)
                Signature Hash Algorithm Signature: Unknown (4)
            Signature Algorithm: rsa_pkcs1_sha256 (0x0401)
                Signature Hash Algorithm Hash: SHA256 (4)
                Signature Hash Algorithm Signature: RSA (1)
            Signature Algorithm: ecdsa_secp384r1_sha384 (0x0503)
                Signature Hash Algorithm Hash: SHA384 (5)
                Signature Hash Algorithm Signature: ECDSA (3)
            Signature Algorithm: rsa_pss_rsae_sha384 (0x0805)
                Signature Hash Algorithm Hash: Unknown (8)
                Signature Hash Algorithm Signature: Unknown (5)
            Signature Algorithm: rsa_pkcs1_sha384 (0x0501)
                Signature Hash Algorithm Hash: SHA384 (5)
                Signature Hash Algorithm Signature: RSA (1)
            Signature Algorithm: rsa_pss_rsae_sha512 (0x0806)
                Signature Hash Algorithm Hash: Unknown (8)
                Signature Hash Algorithm Signature: Unknown (6)
            Signature Algorithm: rsa_pkcs1_sha512 (0x0601)
                Signature Hash Algorithm Hash: SHA512 (6)
                Signature Hash Algorithm Signature: RSA (1)
            Signature Algorithm: rsa_pkcs1_sha1 (0x0201)
                Signature Hash Algorithm Hash: SHA1 (2)
                Signature Hash Algorithm Signature: RSA (1)
    Extension: ec_point_formats (len=2)
        Type: ec_point_formats (11)
        Length: 2
        EC point formats Length: 1
        Elliptic curves point formats (1)
            EC point format: uncompressed (0)
    Extension: supported_groups (len=8)
        Type: supported_groups (10)
        Length: 8
        Supported Groups List Length: 6
        Supported Groups (3 groups)
            Supported Group: x25519 (0x001d)
            Supported Group: secp256r1 (0x0017)
            Supported Group: secp384r1 (0x0018)
当我向openssl询问支持的密码列表时:

OpenSSL: Enabled cipher suites in priority order
Cipher 0: ECDHE-RSA-AES256-GCM-SHA384
Cipher 1: ECDHE-ECDSA-AES256-GCM-SHA384
Cipher 2: ECDHE-RSA-AES256-SHA384
Cipher 3: ECDHE-ECDSA-AES256-SHA384
Cipher 4: ECDHE-RSA-AES256-SHA
Cipher 5: ECDHE-ECDSA-AES256-SHA
Cipher 6: SRP-DSS-AES-256-CBC-SHA
Cipher 7: SRP-RSA-AES-256-CBC-SHA
Cipher 8: SRP-AES-256-CBC-SHA
Cipher 9: DH-DSS-AES256-GCM-SHA384
Cipher 10: DHE-DSS-AES256-GCM-SHA384
Cipher 11: DH-RSA-AES256-GCM-SHA384
Cipher 12: DHE-RSA-AES256-GCM-SHA384
Cipher 13: DHE-RSA-AES256-SHA256
Cipher 14: DHE-DSS-AES256-SHA256
Cipher 15: DH-RSA-AES256-SHA256
Cipher 16: DH-DSS-AES256-SHA256
Cipher 17: DHE-RSA-AES256-SHA
Cipher 18: DHE-DSS-AES256-SHA
Cipher 19: DH-RSA-AES256-SHA
Cipher 20: DH-DSS-AES256-SHA
Cipher 21: DHE-RSA-CAMELLIA256-SHA
Cipher 22: DHE-DSS-CAMELLIA256-SHA
Cipher 23: DH-RSA-CAMELLIA256-SHA
Cipher 24: DH-DSS-CAMELLIA256-SHA
Cipher 25: AECDH-AES256-SHA
Cipher 26: ADH-AES256-GCM-SHA384
Cipher 27: ADH-AES256-SHA256
Cipher 28: ADH-AES256-SHA
Cipher 29: ADH-CAMELLIA256-SHA
Cipher 30: ECDH-RSA-AES256-GCM-SHA384
Cipher 31: ECDH-ECDSA-AES256-GCM-SHA384
Cipher 32: ECDH-RSA-AES256-SHA384
Cipher 33: ECDH-ECDSA-AES256-SHA384
Cipher 34: ECDH-RSA-AES256-SHA
Cipher 35: ECDH-ECDSA-AES256-SHA
Cipher 36: AES256-GCM-SHA384
Cipher 37: AES256-SHA256
Cipher 38: AES256-SHA
Cipher 39: CAMELLIA256-SHA
Cipher 40: PSK-AES256-CBC-SHA
Cipher 41: ECDHE-RSA-AES128-GCM-SHA256
Cipher 42: ECDHE-ECDSA-AES128-GCM-SHA256
Cipher 43: ECDHE-RSA-AES128-SHA256
Cipher 44: ECDHE-ECDSA-AES128-SHA256
Cipher 45: ECDHE-RSA-AES128-SHA
Cipher 46: ECDHE-ECDSA-AES128-SHA
Cipher 47: SRP-DSS-AES-128-CBC-SHA
Cipher 48: SRP-RSA-AES-128-CBC-SHA
Cipher 49: SRP-AES-128-CBC-SHA
Cipher 50: DH-DSS-AES128-GCM-SHA256
Cipher 51: DHE-DSS-AES128-GCM-SHA256
Cipher 52: DH-RSA-AES128-GCM-SHA256
Cipher 53: DHE-RSA-AES128-GCM-SHA256
Cipher 54: DHE-RSA-AES128-SHA256
Cipher 55: DHE-DSS-AES128-SHA256
Cipher 56: DH-RSA-AES128-SHA256
Cipher 57: DH-DSS-AES128-SHA256
Cipher 58: DHE-RSA-AES128-SHA
Cipher 59: DHE-DSS-AES128-SHA
Cipher 60: DH-RSA-AES128-SHA
Cipher 61: DH-DSS-AES128-SHA
Cipher 62: DHE-RSA-SEED-SHA
Cipher 63: DHE-DSS-SEED-SHA
Cipher 64: DH-RSA-SEED-SHA
Cipher 65: DH-DSS-SEED-SHA
Cipher 66: DHE-RSA-CAMELLIA128-SHA
Cipher 67: DHE-DSS-CAMELLIA128-SHA
Cipher 68: DH-RSA-CAMELLIA128-SHA
Cipher 69: DH-DSS-CAMELLIA128-SHA
Cipher 70: AECDH-AES128-SHA
Cipher 71: ADH-AES128-GCM-SHA256
Cipher 72: ADH-AES128-SHA256
Cipher 73: ADH-AES128-SHA
Cipher 74: ADH-SEED-SHA
Cipher 75: ADH-CAMELLIA128-SHA
Cipher 76: ECDH-RSA-AES128-GCM-SHA256
Cipher 77: ECDH-ECDSA-AES128-GCM-SHA256
Cipher 78: ECDH-RSA-AES128-SHA256
Cipher 79: ECDH-ECDSA-AES128-SHA256
Cipher 80: ECDH-RSA-AES128-SHA
Cipher 81: ECDH-ECDSA-AES128-SHA
Cipher 82: AES128-GCM-SHA256
Cipher 83: AES128-SHA256
Cipher 84: AES128-SHA
Cipher 85: SEED-SHA
Cipher 86: CAMELLIA128-SHA
Cipher 87: IDEA-CBC-SHA
Cipher 88: PSK-AES128-CBC-SHA
Cipher 89: ECDHE-RSA-RC4-SHA
Cipher 90: ECDHE-ECDSA-RC4-SHA
Cipher 91: AECDH-RC4-SHA
Cipher 92: ADH-RC4-MD5
Cipher 93: ECDH-RSA-RC4-SHA
Cipher 94: ECDH-ECDSA-RC4-SHA
Cipher 95: RC4-SHA
Cipher 96: RC4-MD5
Cipher 97: PSK-RC4-SHA
Cipher 98: ECDHE-RSA-DES-CBC3-SHA
Cipher 99: ECDHE-ECDSA-DES-CBC3-SHA
Cipher 100: SRP-DSS-3DES-EDE-CBC-SHA
Cipher 101: SRP-RSA-3DES-EDE-CBC-SHA
Cipher 102: SRP-3DES-EDE-CBC-SHA
Cipher 103: EDH-RSA-DES-CBC3-SHA
Cipher 104: EDH-DSS-DES-CBC3-SHA
Cipher 105: DH-RSA-DES-CBC3-SHA
Cipher 106: DH-DSS-DES-CBC3-SHA
Cipher 107: AECDH-DES-CBC3-SHA
Cipher 108: ADH-DES-CBC3-SHA
Cipher 109: ECDH-RSA-DES-CBC3-SHA
Cipher 110: ECDH-ECDSA-DES-CBC3-SHA
Cipher 111: DES-CBC3-SHA
Cipher 112: PSK-3DES-EDE-CBC-SHA
我很难调和这些价值观,因为两者似乎有所不同。 获取匹配的共享密码的最佳方法是什么

我已经读到secp256r1与NID_X9_62_prime256v1相同 但是,我如何将其作为公认的密码添加到OpenSSL中呢