suse openssl 未定义符号:private_CAST_set_key

suse openssl undefined symbol: private_CAST_set_key

我想在我的 suse 系统上创建一个 ssl 证书。当我这样尝试时:

openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365

我收到以下错误:

openssl: symbol lookup error: openssl: undefined symbol: private_CAST_set_key

好的解决了

openssl genrsa -de3 -out key.pem -rand random

创建密钥

然后

openssl req -new -x509 -key key.pem -out cert.pem

使用密钥。 我不是自己解决的,我找到了这个视频:https://www.youtube.com/watch?v=fJCPAZKfR7k 希望对你有帮助