기존 apache 서버에서 ssl 사용할려면..?

godwinmin의 이미지

안녕하세요.
apache 서버를 설치하고 그룹웨어를 돌리고 있습니다.
어떠한 이유로 ssl 를 유효하게 하고싶은데요..

예전에 ./configure --enable-module=so
로 룰을 만들고 설치 하였습니다.

이 상태에서
./configure --enable-mods-shared=all --enable-ssl
로 룰을 만들고 인스톨을 해봤는데요.
에러가 나오더군요.

이 상태에서 ssl만 유효하게 만들려면 어떻게 해야하는지
알려주시면 감사드리겠습니다.

codebank의 이미지

음... 아파치의 버젼에 따라서 적용방법이 조금 틀려지는 것으로 알고 있습니다.
apache 1.3.x번호대에서는

http://www.apache-ssl.org/
http://www.modssl.org/

이런것을 이용해야한다고 알고 있습니다.(둘중에 하나만을 사용해야하겠죠.)
어쨌거나 패치를 통해서 가능하다고 알고 있습니다.

apache 2.0.x번호대라면 conf 디렉토리의 modules.d에서 40_mod_ssl.conf파일이
있어야하고(ssl을 Module화시켜주는 설정... 같습니다. :oops: ) /lib/apache2-extramodules 에
mod_ssl.so가 있어야합니다.(path는 배포판에 따라서 사용자 설정에 따라서 다른곳
일 수가 있습니다.)

저는 Gentoo를 사용하는지라 간단한 설정으로 ssl을 포함시켜놓기는 해지만
다른 배포판(또는 소스컴파일)에서는 시도해본적이 없는것 같네요.

도움이 되지 않은것 같아 죄송합니다.
행운을 빌겠습니다.
(다음부터는 해당 프로그램의 버젼도 같이 써주시고 질문을 올려주세요.)

------------------------------
좋은 하루 되세요.

godwinmin의 이미지

codebank님 친절한 답변 감사드립니다.

회사에서 급하게 글을 올렸던지라 너무 성의 없게 질문을 했네요.
어떤 배포판을 쓰는지, 어떤 버젼을 쓰는지도 안 적어놓고..
하하.. 제가 써놓고선 창피스럽네요.

답변 해주셨지만 버젼은 apache 2과 redhat linux 9 입니다.

내일 한번 가르쳐주신 사이트와 어드바이스로
시도해보도록 하겠습니다.

감사드립니다!

trim703의 이미지

아파치 2.x대라면 /usr/local/apache/build/config.nice 파일에 설치 당시의 컴파일 옵션이 저장되어 있습니다.
그 옵션에 --enable-ssl만 추가하여 재컴파일하면 됩니다.

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.