随笔分类 -  18.加密和安全

加快ssh连接速度
摘要:修改ssh服务器配置文件 /etc/ssh/sshd_config 第1项:GSSAPIAuthentication 设置为no 第2项:UseDNS 设置为no 最后重启ssh服务 6:service sshd restart 7:systemctl restart sshd 阅读全文
posted @ 2018-09-17 23:30 圆缘 阅读(1719) 评论(0) 推荐(0)
ssh免密码登录
摘要:本机免密登录远程主机 P.S. CentOS 6免密登录CentOS 7(全程在CentOS 6执行) 1.在CentOS 6生成密钥对 ssh keygen t rsa (连续按3次回车) 2.将CentOS 6生成的公钥传输给信任的CentOS 7远程主机 ssh copy id CentOS 阅读全文
posted @ 2018-09-17 23:13 圆缘 阅读(240) 评论(0) 推荐(0)
实现CA和证书申请一些错误提示与解决方法
摘要:![7.7颁发证书出错提示(可以省略).png](https://upload-images.jianshu.io/upload_images/10967676-a8949dd4e8f15ebb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ![7.7颁发证书出错提示解决方法.png](https://upload-images.... 阅读全文
posted @ 2018-09-17 20:52 圆缘 阅读(1126) 评论(0) 推荐(0)
在linux或者windows上直观查看linux下生成的自签名证书
摘要:linux上查看 windows上查看 需要把pem后缀修改为crt 阅读全文
posted @ 2018-09-17 18:32 圆缘 阅读(2697) 评论(0) 推荐(0)
生成私钥与公钥的方法
摘要:CA重要配置文件: /etc/pki/tls/openssl.cnf 1.生成私钥 1.1不加密 :(umask 066;openssl genrsa out private.key 1024) :(umask 066;openssl genrsa out /etc/pki/CA/private/c 阅读全文
posted @ 2018-09-17 11:12 圆缘 阅读(17652) 评论(0) 推荐(0)
实现CA和证书申请
摘要:文字说明 1 在CA上执行,建立CA cd /etc/pki/CA touch index.txt echo 0F serial (umask 077;openssl genrsa out private/cakey.pem 2048) openssl req new x509 key privat 阅读全文
posted @ 2018-09-17 09:52 圆缘 阅读(2530) 评论(0) 推荐(1)
1.ssh端口
摘要:路径:/etc/ssh/sshd_config 配置文件先备份 阅读全文
posted @ 2018-09-13 18:39 圆缘 阅读(543) 评论(0) 推荐(0)
1.对称加密6和7的操作
摘要:加密:gpg c filename 解密查看不生成文件:gpg d file.gpg 解密生成文件:gpg o filename d file.gpg CentOS 6 提示错误,在图形化界面操作就可以了 can't connect to `/root/.gnupg/S.gpg agent': No 阅读全文
posted @ 2018-09-11 10:45 圆缘 阅读(465) 评论(0) 推荐(0)


返顶部