简体   繁体   English

不支持OpenSSL密码PSK-AES128-CCM8吗?

[英]OpenSSL cipher PSK-AES128-CCM8 is not supported?

I'm on Ubuntu 16.04, and openssl version returns "OpenSSL 1.1.1c 28 May 2019" 我在Ubuntu 16.04上, openssl version返回“ OpenSSL 1.1.1c 28 May 2019”

I would like to use PSK-AES128-CCM8 in an application but it does not seem to be supported. 我想在应用程序中使用PSK-AES128-CCM8 ,但似乎不受支持。 It is not returned by openssl ciphers -s -v ALL but it is returned by openssl ciphers -v ALL (None of the PSK ciphers seem to be supported by the way) 它不是由openssl ciphers -s -v ALL返回的,而是由openssl ciphers -v ALL返回的(该方式似乎不支持PSK密码)

Any suggestions on how to proceed? 有关如何进行的任何建议?

That ciphersuite is available in OpenSSL 1.1.1c but you don't get PSK by default with OpenSSL unless you have actually configured a PSK for it to use - hence it does not appear in the "supported" list that is output by the "-s" option. 该密码套件在OpenSSL 1.1.1c中可用,但默认情况下,OpenSSL不会提供PSK,除非您已实际配置了要使用的PSK-因此它不会出现在“-”输出的“受支持”列表中s”选项。 If you additionally pass the "-psk" option then it will configure OpenSSL with a dummy PSK and the "-s" option will start showing PSK ciphers, ie 如果您另外传递了“ -psk”选项,则它将使用伪PSK配置OpenSSL,而“ -s”选项将开始显示PSK密码,即

openssl ciphers -psk -s -v ALL

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM