title: How to update OpenSSL on centos 7.2?
body: <p>I am using centos 7.2, I would like to update openssl,current version is as follow:</p>
  
  <pre><code>[root@i001 ~]# rpm -qa|grep openssl
  openssl-libs-1.0.1e-51.el7_2.4.x86_64
  openssl-devel-1.0.1e-51.el7_2.4.x86_64
  openssl-1.0.1e-51.el7_2.4.x86_64
  </code></pre>
  
  <p>I tried to download SRPM package in fedora repertory,</p>
  
  <pre><code>openssl-1.0.2d-2.fc23.src.rpm
  </code></pre>
  
  <p>rebuild it and install,but there is something wrong,</p>
  
  <pre><code>[root@i001 ~]# yum update openssl
  Loaded plugins: axelget, langpacks
  No metadata available for base
  No metadata available for dockerrepo
  No metadata available for elrepo
  No metadata available for epel
  No metadata available for extras
  No metadata available for local
  No metadata available for mariadb
  No metadata available for nginx
  No metadata available for remi-php70
  No metadata available for remi-php70-test
  No metadata available for remi-safe
  No metadata available for salt-2015.8
  No metadata available for updates
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package openssl.x86_64 1:1.0.1e-51.el7_2.4 will be updated
  ---&gt; Package openssl.x86_64 1:1.0.2d-2.el7.centos will be an update
  --&gt; Processing Dependency: openssl-libs(x86-64) = 1:1.0.2d-2.el7.centos for package: 1:openssl-1.0.2d-2.el7.centos.x86_64
  --&gt; Processing Dependency: libcrypto.so.10(OPENSSL_1.0.2)(64bit) for package: 1:openssl-1.0.2d-2.el7.centos.x86_64
  --&gt; Running transaction check
  ---&gt; Package openssl-libs.x86_64 1:1.0.1e-51.el7_2.4 will be updated
  --&gt; Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-51.el7_2.4 for package: 1:openssl-devel-1.0.1e-51.el7_2.4.x86_64
  ---&gt; Package openssl-libs.x86_64 1:1.0.2d-2.el7.centos will be an update
  --&gt; Processing Dependency: crypto-policies for package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64
  --&gt; Running transaction check
  ---&gt; Package openssl-devel.x86_64 1:1.0.1e-51.el7_2.4 will be updated
  ---&gt; Package openssl-devel.x86_64 1:1.0.2d-2.el7.centos will be an update
  ---&gt; Package openssl-libs.x86_64 1:1.0.2d-2.el7.centos will be an update
  --&gt; Processing Dependency: crypto-policies for package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64
  --&gt; Finished Dependency Resolution
  Error: Package: 1:openssl-libs-1.0.2d-2.el7.centos.x86_64 (local)
             Requires: crypto-policies
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>What should I do?</p>