https centos6 and 7
keytool -printcert -sslserver 10.10.192.90:8443 -rfc >nexus.crt
通过 openssl 将 证书转换为 .pem格式的
通过以下命令, 转换为 .pem格式
openssl x509 -in a.cer -out a.pem
openssl version -d
get the directory, add the content to the tail of the files.
- AIX, OpenSSL 0.9.6 (from OpenSSH support packages) /var/ssl/
- Centos 3 / 4, OpenSSL 0.9.7 /usr/share/ssl/
- Cygwin, OpenSSL 0.9.6 /usr/ssl/
- Debian Woody (3.0), OpenSSL 0.9.6 /etc/ssl/
- Debian Sarge (3.1), OpenSSL 0.9.7 /etc/ssl/
- Debian Etch (4.0), OpenSSL 0.9.8 /etc/ssl/
- Debian Lenny (5.0), OpenSSL 0.9.8 /etc/ssl/
- Debian Squeeze (6.0), OpenSSL 0.9.8o /etc/ssl/
- FreeBSD, OpenSSL 0.9.8 /etc/ssl/
- FreeBSD, OpenSSL 0.9.x (custom complile) /usr/local/openssl/
- Gentoo, OpenSSL 0.9.6 /usr/lib/ssl/
- Gentoo, OpenSSL 0.9.7 /etc/ssl/
- Mac OS X 10.1.2, OpenSSL 0.9.6b /System/Library/OpenSSL/
- Mandrake 7.1 -> 8.2, OpenSSL 0.9.6 /usr/lib/ssl/
- NetBSD, OpenSSL 0.9.x /etc/openssl/
- Nokia N900 Maemo 5, OpenSSL 0.9.8n /etc/ssl/
- Normal OpenSSL Tarball Build, OpenSSL 0.9.6 /usr/local/ssl/
- OpenBSD, OpenSSL 0.9.x /etc/ssl/
- Redhat 6.2 / 7.x / 8.0 / 9, OpenSSL 0.9.6 /usr/share/ssl/
- Redhat Enterprise 3 / 4, OpenSSL 0.9.7 /usr/share/ssl/
- Redhat Enterprise 6, OpenSSL 1.0.0 /etc/pki/tls/
- Redhat Fedora Core 2 / 3, OpenSSL 0.9.7 /usr/share/ssl/
- Redhat Fedora Core 4, OpenSSL 0.9.7 /etc/pki/tls/
- Redhat Fedora Core 5 / 6, OpenSSL 0.9.8 /etc/pki/tls/
- Slackware, OpenSSL 0.9.6 /etc/ssl/
- SuSE 7.3 / 8.0, OpenSSL 0.9.6 /usr/share/ssl/
- SuSE 8.1 / 8.2, OpenSSL 0.9.6 /etc/ssl/
- Ubuntu Maverick (10.10), OpenSSL 0.9.8o /etc/ssl/
- Ubuntu Precise (12.04), OpenSSL 1.0.1 /etc/ssl/
centos
---
Install the ca-certificates package:
yum install ca-certificates
Enable the dynamic CA configuration feature:
update-ca-trust enable
Add it as a new file to /etc/pki/ca-trust/source/anchors/:
cp foo.crt /etc/pki/ca-trust/source/anchors/
Use command:
update-ca-trust extract
https centos6 and 7的更多相关文章
- Centos6 下安装Nginx+Mysql+PHP
安装nginx https://segmentfault.com/a/1190000007928556 添加源 $ wget http://nginx.org/packages/centos/6/no ...
- Centos6.8下yum安装python2.7
下载 ius-release.rpm包 wget https://centos6.iuscommunity.org/ius-release.rpm 安装ius-release.rpm包 rpm -Uv ...
- 在centos6.5上升级php-libxml版本到2.9.0
当前系统,软件版本说明: php libxml glibc 2.12 zlib xz-libs 需求: 应开发的需求,线上环境,php-libxml版本升级到2.8以上. 升级步骤:1.安装工具集 y ...
- 阿里云ECS安装lnmp环境-转载自:http://ninghao.net/blog/1368
远程控制你的服务器 远程控制 Linux 类型的系统的服务器,比如 CentOS 系统的服务器,一般不像 Windows 服务器那样,使用图形界面的远程控制.我们需要使用命令行工具,远程连接到服务器, ...
- CentOS install duplicity
yum -y updateyum -y install epel-releaseyum -y install ncftp screen # Compilers and related tools:yu ...
- 为Linux配置常用源:epel和IUS
CentOS上,除了os类的yum源,还需要配置几个常用的源:epel.ius. 有很多国内很多镜像站点都提供了各类仓库的镜像站点,个人感觉比较全的是阿里云http://mirrors.aliyun. ...
- CentOS扩展库配置
背景:经常用到第三方的库,通过yum命令查询不到.例如:yum search ilbcWarning: No matches found for: ilbc 不要感叹,CentOS没你想象的支持力度那 ...
- 一键安装 zabbix 3.0 版本 脚本
原文地址: http://blog.csdn.net/u012449196/article/details/53859068 本文修改了原文中的部分错误,此脚本适用于zabbix 2.0 或 3.0 ...
- Linux 下 YUM 安装 PHP 5.5 (及5.6)
原文链接: http://blog.aboutc.net/linux/50/yum-install-php-on-linux 系统环境: CentOS 6.4 x86_64 Fedora 20 x86 ...
随机推荐
- MySQL命令行查询乱码解决方法:
MySQL会出现中文乱码的原因不外乎下列几点:1.server本身设定问题,例如还停留在latin1 2.table的语系设定问题(包含character与collation) 3.客户端程式(例如p ...
- HTML-Audio/Video
简介: 容器:不论是音频还是视频文件,实际上都是容器文件: 视频文件包含了音频轨道.视频轨道和其他一些元数据: 视频文件播放时,音频轨道和视频轨道是绑定在一起:元数据包含了该视频的封面.子标题.字幕等 ...
- Zookeeper实战之单机模式
Zookeeper介绍 Zookeeper 分布式服务框架是用来解决分布式应用中经常遇到的一些数据管理问题,如:统一命名服务.状态同步服务.集群管理.分布式应用配置项的管理等.本文主要从使用者角度来介 ...
- HDU2167 Pebbles(状压DP)
题目给一张n×n的格子,每个格子都有数字,要从格子中取若干个数字,八个方向相邻的数字不能一起取,问取的数字最大和是多少. 从第一行一行一行看下去,可以发现第1行取哪几列只会影响到第2行,第3行后面的一 ...
- 【POJ】1062 昂贵的聘礼(spfa)
http://poj.org/problem?id=1062 此题一开始果断想到暴力.. 但是n<=100果断不行. 一看题解,噗!最短路... 构图很巧妙. 每一个物品对应的所需物品相当于一个 ...
- COJ1012 WZJ的数据结构(十二)
今天突然想写个树套树爽一爽(1810ms) 写的是树状数组套线段树(动态开节点) #include<cstdio> #include<cctype> #include<c ...
- QT基本使用
安装方法: ubuntu12.04下安装QT方法:http://blog.csdn.net/xsl1990/article/details/8299756 输入以下命令: sudo apt-get i ...
- @JSON(serialize=false),过滤不需要的变量
@JSON(serialize=false),过滤不需要的变量 在用struts2返回json类型的数据时,json会自动转换需要转换成json形式的变量,如果哪个变量不需要的话,则可以在该变量的 ...
- shenyi 语录
[讲师]沈逸(65480539) 2016-06-08 14:58:42 会centos 转redhat是分分钟的事 [讲师]沈逸(65480539) 2016-06-08 14:58:54 查看 ...
- 使用Eclipse自带的Axis1插件生成WSDL文件
首先创建一个web工程,创建过程如下: 如果选择Apache Tomcat v5.5,Dynamic web module version最高只能选择2.4,填写完成后点击“下一步”: 填写默认输出文 ...