简体   繁体   中英

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"

I would like to use PSK-AES128-CCM8 in an application but it does not seem to be supported. 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)

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. 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

openssl ciphers -psk -s -v ALL

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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