检查Debian系统OpenSSL是否运行正常,可按以下步骤操作:
openssl version 确认已安装版本,确保为最新安全版本。sudo systemctl status openssl(systemd)或 sudo service openssl status(SysVinit)检查状态。ps aux | grep openssl 查看是否有相关进程运行。/etc/ssl/openssl.cnf 配置是否正确(如证书路径、加密算法等)。openssl s_client -connect example.com:443 测试SSL/TLS连接是否正常。openssl x509 -in certificate.crt -text -noout 验证证书有效性。sudo journalctl -xeu openssl 或 /var/log/syslog 查看错误信息。若以上步骤无异常,说明OpenSSL运行正常。