记一次tls客户端配置
参照https://github.com/alfredh/retlshttps://github.com/creytiv/re/tree/sip_tls_verify首先安装需要的libre库https://github.com/creytiv/re/tree/sip_tls_verify进去下载之后MakeMake installLdconfig然后安...
参照https://github.com/alfredh/retls
https://github.com/creytiv/re/tree/sip_tls_verify
首先安装需要的libre库
https://github.com/creytiv/re/tree/sip_tls_verify
进去下载之后
Make
Make install
Ldconfig
然后安装retls
https://github.com/alfredh/retls
下载解压之后进入文件夹make即可,make成功的标志
可以在make前执行ldconfig
使用:
注:可能不会一帆风顺,记录遇到的问题,不过运气好的话就如上面那么简单
1.make时出现warning 说libssl.1.0.so和libssl.1.1.so冲突,此时也可以运行retls,但是会出现segmentation fault(core dump),主要问题在于冲突,要重装libssl(可能重装openssl也行吧,没试过) libcrypto冲突采用同样方式解决
2.make时出现如下错误:
参见https://stackoverflow.com/questions/45324091/openssl-link-libcrypto-a-in-a-static-way
修改Makefile文件
在-lm后面加上-ldl即可
更多推荐
所有评论(0)