CentOS openssl 업그레이드 관련 질문 드립니다.

익명 사용자의 이미지

안녕하세요 ~

CentOS openssl 업그레이드 관련 질문 드립니다.

CensOS 버전은 6.9 이고 yum info openssl 명령어를 통해 확인되는 openssl 버전은 1.0.1e 입니다.

rpm -qa | grep openssl 명령어를 사용하면 openssl-1.0.1e-57.el6.x86_64 로 나오고 있구요.

Nginx 설치를 위해 openssl을 1.0.2 버전으로 업그레이드 하기 위해 ( Nginx 설치 시 openssl 1.0.2 설치 요구를 하더군요 )

openssl tar 파일을 다운로드 받아 업그레이드 했습니다.

openssl version 명령어 사용 시 OpenSSL 1.0.2m로 잘 나오고 있습니다.

문제는 yum info openssl , rpm -qa | grep openssl로 확인 시 버전이 업그레이드 되지 않습니다.

이때문에 Nginx설치도 되지 않구요 ㅠ

업그레이드 한 Openssl 버전을 yum에 어떻게 적용 시켜야하나요?

김정균의 이미지

음 직접 설치한 것은 별개라고 보시면 됩니다. 즉, 현재 님의 서버에는 openssl 이 2개 버전이 설치가 되어 있는 거죠.

그리고, 꼭 yum이니 rpm 으로 정보가 보여야 하는 것은 아닙니다.

./configure 하실 때 --with-openssl 옵션으로 openssl 1.0.2 를 설치하신 곳을 지정해 주시면 됩니다.

예를 들어 openssl 의 prefix를 --prefix=/opt/openssl-1.0.2 로 설치했다면 nginx configure시에 --with-openssl=/opt/openssl-1.0.2 이렇게 주시면 될 겁니다.

이것도 어렵다고 생각 하시면, 안녕 리눅스 2.x 에 있는 openssl 1.0.1e 로 업그레이드를 하시면 nginx 빌드시에 필요한 기능이 back porting 되어 있습니다만.. yum 설치와 직접 설치를 혼동하시는 것으로 보아 더 힘들지도 모르겠군요 :)

jisung8908의 이미지

글 작성시에 회원가입을 안했어서 .. 회원가입 하고 댓글 답니다.
답변감사드립니다. 제가 작성한 이슈에 대해서는 OS를 CentOS 7로 업그레이드 해서 해결 했습니다.^^

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.