会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一如年少de模样
Coding changs world ------科学技术宅
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
下一页
2020年12月28日
GmSSL 与 OpenSSL 共存的安装方法
摘要: 安装openssl 使用yum或者apt命令都可以安装,现在最新的系统自带的就是openssl1.1.1g 安装 GmSSL 关键点就是no-shared:只编译静态库 下载解压 # 下载 gmssl wget https://github.com/guanzhi/GmSSL/archive/mas
阅读全文
posted @ 2020-12-28 14:16 一如年少de模样
阅读(2865)
评论(0)
推荐(0)
2020年11月24日
Docker CentOS / Ubuntu容器开启 SSH 服务
摘要: 在CentOS容器内执行 yum install passwd openssl openssh-server -y # Ubuntu把yum改成apt-get ssh-keygen -q -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key -N '' ssh-ke
阅读全文
posted @ 2020-11-24 14:03 一如年少de模样
阅读(446)
评论(0)
推荐(0)
2020年9月24日
mips交叉编译:SQLite3
摘要: 交叉编译程序时,报错如下: cannot find -lsqlite3 提示没有sqlite3的库。需要我们交叉编译一下。 下载页面 https://www.sqlite.org/download.html (下载sqlite-autoconf-3330000.tar.gz安装包) tar -vxf
阅读全文
posted @ 2020-09-24 16:45 一如年少de模样
阅读(766)
评论(0)
推荐(0)
2020年9月21日
生成证书脚本
摘要: 注:如果复制之后,在Centos里边出现Windows和Linux格式不匹配,使用以下命令修改文件格式,然后再执行脚本即可。 1、yum -y install dos2unix 2、dos2unix 文件名 1、如下是生成国密证书的脚本 #!/bin/bash set -e dir=`dirname
阅读全文
posted @ 2020-09-21 10:53 一如年少de模样
阅读(355)
评论(0)
推荐(0)
2020年9月18日
ssh连接不上 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
摘要: 1、当出现如下错误SSH连接不上 一般这个问题,是你重置过你的服务器后。你再次想访问会出现这个问题。 2、 解决问题 ssh-keygen -R 你要访问的IP地址 然后就可以使用ssh访问了
阅读全文
posted @ 2020-09-18 15:37 一如年少de模样
阅读(178)
评论(0)
推荐(0)
2020年9月11日
gmssl ocsp 验证证书
摘要: 第一种方式:使用序列号 服务器端: gmssl ocsp -index index.txt -CA ca.crt -rsigner server.crt -rkey server.key -port 8888 客户端: gmssl ocsp -issuer ca.crt -url http://12
阅读全文
posted @ 2020-09-11 10:37 一如年少de模样
阅读(712)
评论(0)
推荐(0)
2020年9月10日
gmssl 生成证书、生成crl以及生成证书链
摘要: 配置环境: 由于配置文件默认是demoCA,这里我们按默认来mkdir -p demoCA/{certs,crl,newcerts,private} touch demoCA/index.txt echo "01" > demoCA/serial echo "01" > demoCA/crlnumb
阅读全文
posted @ 2020-09-10 14:42 一如年少de模样
阅读(5066)
评论(0)
推荐(0)
2020年8月18日
安装openssl后yum不能使用的解决办法
摘要: 重新编译安装ioenssl后,发现yum命令不能使用,找到如下解决办法 提示错误是 openssl: /usr/lib/x86_64-linux-gnu/libssl.so.1.1: version OPENSSL_1_1_1’ not found (required by openssl)查了一下
阅读全文
posted @ 2020-08-18 14:12 一如年少de模样
阅读(2861)
评论(0)
推荐(0)
2020年8月17日
使用xShell 连接 docker 使用说明
摘要: 方式一:当不知道docker里镜像的root密码的时候 1、从Docker Hub下载需要的镜像 docker pull 镜像名字 2、使用docker run命令启动容器 docker run -it --privileged --hostname 主机名字 -dp 外部连接端口号:22 --na
阅读全文
posted @ 2020-08-17 15:53 一如年少de模样
阅读(5739)
评论(0)
推荐(0)
/usr/bin/ld: cannot find -lcrypto
摘要: 当我们使用openssl里边的函数的时候,需要链接crypto的库 如果找不到,加一个软链接,如下: ln -s /usr/lib64/libcrypto.so.1.1 /usr/lib64/libcrypto.so
阅读全文
posted @ 2020-08-17 11:43 一如年少de模样
阅读(1253)
评论(0)
推荐(0)
上一页
1
2
3
4
5
下一页
公告