<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>삽질은 내친구</title>
    <link>https://finkle.tistory.com/</link>
    <description>실천없이 생각만 잔뜩 하라. 변하는 건 아무것도 없을 것이다.</description>
    <language>ko</language>
    <pubDate>Tue, 18 Aug 2026 11:02:04 +0900</pubDate>
    <generator>TISTORY</generator>
    <ttl>100</ttl>
    <managingEditor>finkle</managingEditor>
    <image>
      <title>삽질은 내친구</title>
      <url>https://t1.daumcdn.net/cfile/tistory/1232720C49E2A074AC</url>
      <link>https://finkle.tistory.com</link>
    </image>
    <item>
      <title>Apache2 : SSL 인증서 적용하기 (Lets' Encrypt 무료 인증서)</title>
      <link>https://finkle.tistory.com/125</link>
      <description>&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Chrome 브라우저 최신 버전으로 업데이트 이후 예전에 적용했던 WoSign SSL 인증서를 신뢰하지 않는 문제가 발생했다.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 10pt; color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;관련 내용은 아래 주소를 참고:&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 10pt; border: none; outline: none; color: rgb(0, 85, 255);&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;a href=&quot;https://www.xetown.com/square/416332&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot; style=&quot;font-family: &amp;quot;Noto Sans&amp;quot;, sans-serif; font-size: 12px; border: none; outline: none; color: rgb(9, 87, 239);&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;https://www.xetown.com/square/416332&lt;/span&gt;&lt;/a&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;a href=&quot;https://security.googleblog.com/2016/10/distrusting-wosign-and-startcom.html&quot; target=&quot;_blank&quot; style=&quot;border: none; outline: none; color: rgb(9, 87, 239);&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;color: rgb(0, 85, 255); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 10pt;&quot;&gt;&lt;u&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;https://security.googleblog.com/2016/10/distrusting-wosign-and-startcom.html&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/a&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;그래서 이번에는 Apache2 서버에 Chrome이 후원하고 있는&amp;nbsp;Lets' Encrypt 무료 인증서를 적용해 보도록 한다.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(193, 193, 193); background-color: rgb(238, 238, 238); padding: 10px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;우분투 Ubuntu 16.04.2 LTS 에서는 고맙게도 설치 프로그램을 제공하고 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font color=&quot;#666666&quot; face=&quot;Noto Sans, sans-serif&quot;&gt;&lt;span style=&quot;font-size: 11pt; color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;$ sudo&amp;nbsp;apt-get install letsencrypt&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;설치가 정상적으로 완료되면 아래 명령어를 이용해 인증서를 서버에 설치한다.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding: 10px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;$ sudo letsencrypt certonly --webroot --webroot-path=웹루트_풀경로명&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;-d 대상_도메인명&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;&amp;nbsp;- Congratulations! Your certificate and chain have been saved .... 이라는 메시지가 나오면 성공이다.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;(도메인이 여러개일 경우 -d 옵션을 여러개 지정하면 된다.)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;아래 명령어를 통해 인증서 파일 목록을 볼 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;$ sudo ls &amp;nbsp;-l&amp;nbsp;/etc/letsencrypt/live/&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;아파치 서버에 적용해보자.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;아래 구문을 대상 conf 파일에 넣어주자. (기존에 설정한 게 있다면 주석 처리한다.)&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(159, 211, 49); background-color: rgb(231, 253, 181); padding: 10px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;SSLEngine on&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size:11pt;&quot;&gt;SSLProtocol all -SSLv2 -SSLv3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 11pt;&quot;&gt;SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;SSLHonorCipherOrder on&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;SSLCertificateFile &quot;/etc/letsencrypt/live/도메인명/cert.pem&quot;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;SSLCertificateKeyFile &quot;/etc/letsencrypt/live/도메인명/privkey.pem&quot;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;SSLCertificateChainFile &quot;/etc/letsencrypt/live/도메인명/chain.pem&quot;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;아파치를 재기동하면 이제 정상적으로 인증서가 적용된 모습을 볼 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;Lets' Encrypt 인증서는 인증기간이 90일로 짧다. 따라서 주기적으로 인증서를 갱신해야 한다.&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding: 10px;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 13.3333px;&quot;&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;$ sudo&amp;nbsp;crontab -e&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;----- 생 략 ----&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;# For more information see the manual pages of crontab(5) and cron(8)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;# m h &amp;nbsp;dom mon dow &amp;nbsp; command&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;10 5 * * 1 /usr/bin/letsencrypt renew &amp;gt;&amp;gt; /var/log/le-renew.log&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;15 5 * * 1 /usr/sbin/apache2ctl restart&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=&quot;font-size: 11pt;&quot;&gt;이제 매주 월요일 5시 10분과 15분에 인증서를 갱신하고 아파치를 재기동 할 수 있다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바/J2EE</category>
      <category>lets encrypt</category>
      <category>ssl</category>
      <category>아파치</category>
      <category>인증서</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/125</guid>
      <comments>https://finkle.tistory.com/125#entry125comment</comments>
      <pubDate>Thu, 13 Apr 2017 19:56:56 +0900</pubDate>
    </item>
    <item>
      <title>서브버전(subversion) svn locked 오류 해결</title>
      <link>https://finkle.tistory.com/124</link>
      <description>&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;현상&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;eclipse에서 변경파일을 커밋하려고 하는데 locked 관련 오류가 나면서 커밋이 안된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;&lt;b&gt;원인&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;이전에 커밋할려다 시간이 오래걸려서 eclipse를 강제로 재시작한 경우가 있다. 이때 커밋대상 파일에 대해 lock이 걸렸을 것으로 추정함&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: 12pt;&quot;&gt;해결&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;1. 프로젝트 우클릭 &amp;gt; team &amp;gt; cleanup&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 0, 0); color: rgb(255, 255, 255);&quot;&gt;=&amp;gt; 실패 : 아무런 반응 없음&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;2. 대상 파일 삭제후 서버에서 다시 업데이트 받음&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 0, 0); color: rgb(255, 255, 255);&quot;&gt;=&amp;gt; 실패 : lock이 걸려서 파일 삭제 불가&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;3. sqlite 클라이언트 다운로드&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;-&amp;nbsp;&lt;a href=&quot;http://sqlitebrowser.org/&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;http://sqlitebrowser.org/&lt;/a&gt; :&amp;nbsp;다운로드 속도가 안될 경우 아래 주소에서 다운로드&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;-&amp;nbsp;&lt;a href=&quot;https://sourceforge.net/projects/sqlitedbrowser/&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;https://sourceforge.net/projects/sqlitedbrowser/&lt;/a&gt; : 위 주소보다 버전은 낮지만 작업하는데 문제는 없다.&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;- 로컬 PC에 설치(압축해제)한 후 프로그램 실행&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;- File &amp;gt; Open Database &amp;gt; 대상 프로젝트 루트 경로의 .svn 폴더 아래에 있는 wc.db 파일을 선택&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;- Execute SQL 탭을 선택 후 아래 SQL 실행&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding: 10px; line-height: 1.5;&quot;&gt;&lt;p&gt;DELETE FROM WORK_QUEUE;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 0, 0); color: rgb(255, 255, 255);&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;background-color: rgb(255, 0, 0); color: rgb(255, 255, 255);&quot;&gt;=&amp;gt; 실패 : 대상 자료가 없음&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;4. 아래 SQL 실행&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border-style: solid; border-width: 1px; border-color: rgb(121, 165, 228); background-color: rgb(219, 232, 251); padding: 10px; line-height: 1.5;&quot;&gt;&lt;p&gt;&lt;span style=&quot;background-color: rgb(219, 232, 251);&quot;&gt;DELETE FROM WC_LOCK;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;span style=&quot;background-color: rgb(31, 218, 17); color: rgb(0, 0, 0);&quot;&gt;=&amp;gt; 성공 : 1개 데이타 삭제함&lt;/span&gt;&lt;span style=&quot;background-color: rgb(70, 115, 255); color: rgb(255, 255, 255);&quot;&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;※ 혹시 그래도 안되면 4번까지 실행 후 1번 재실행&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 1.5;&quot;&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바</category>
      <category>Cleanup</category>
      <category>locked</category>
      <category>SQLite</category>
      <category>Subversion</category>
      <category>SVN</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/124</guid>
      <comments>https://finkle.tistory.com/124#entry124comment</comments>
      <pubDate>Thu, 29 Dec 2016 10:22:52 +0900</pubDate>
    </item>
    <item>
      <title>크롬 개발자도구(F12) 느려짐 해결</title>
      <link>https://finkle.tistory.com/123</link>
      <description>&lt;p&gt;언제인지 모르겠지만 지난 9월 이후 크롬 개발자도구(F12)가 느려져서 디버깅하는데 애를 먹고 있었다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이 문제와 관련해 크롬 업데이트 이후 발생하는 문제이니 구글에서 곧 패치해 주겠지라고 생각하고 무시하고 있었다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그러나 역시 구글 문제가 아니었다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;해결책 : Ahnlab safe transaction 프로그램을 삭제하면 다시 빨라진다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바스크립트</category>
      <category>개발자도구</category>
      <category>느려짐</category>
      <category>크롬</category>
      <category>해결</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/123</guid>
      <comments>https://finkle.tistory.com/123#entry123comment</comments>
      <pubDate>Sat, 12 Nov 2016 00:00:16 +0900</pubDate>
    </item>
    <item>
      <title>Apache2 : SSL 인증서 적용하기 (WoSign 무료 인증서)</title>
      <link>https://finkle.tistory.com/122</link>
      <description>&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;지난번 [&lt;/span&gt;&lt;a href=&quot;http://finkle.tistory.com/120&quot; target=&quot;_top&quot; class=&quot;tx-link&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Tomcat8 : SSL 인증서 적용하기 (WoSign 무료 인증서)&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;] 글에 이어 이번에는 Apache2에 SSL 인증서를 적용하는 절차를 알아본다.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;1. 개인키 파일 생성&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;# openssl genrsa -des3 -out &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;private.key&lt;/span&gt; 2048&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Generating RSA private key, 2048 bit long modulus&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;..................+++&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;................+++&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;e is 65537 (0x10001)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Enter pass phrase for private.key:&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(86, 86, 86); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 12px; line-height: 16.9px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(86, 86, 86); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 12px; line-height: 16.9px;&quot;&gt;(개인키 패스워드 입력)&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Verifying - Enter pass phrase for private.key:&lt;/span&gt;&lt;/font&gt;&lt;span style=&quot;color: rgb(86, 86, 86); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 12px; line-height: 16.9px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(86, 86, 86); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 12px; line-height: 16.9px;&quot;&gt;(개인키 패스워드 입력)&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;2. CSR 생성&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;# openssl req -new -key &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;private.key&lt;/span&gt; -out &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;out.csr&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Enter pass phrase for pri.kery: (개인키 패스워드 입력)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Loading 'screen' into random state - done&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;You are about to be asked to enter information that will be incorporated&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;into your certificate request.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;What you are about to enter is what is called a Distinguished Name or a DN.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;There are quite a few fields but you can leave some blank&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;For some fields there will be a default value,&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;If you enter '.', the field will be left blank.&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;-----&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Country Name (2 letter code) [AU]:KR (국가코드 C)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;State or Province Name (full name) [Some-State]:Seoul (시,도 ST)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Locality Name (eg, city) []:Gu-ro&amp;nbsp;(구,군 L)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Organization Name (eg, company) [Internet Widgits Pty Ltd]:Finkle (기관명 O)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Organizational Unit Name (eg, section) []:RnD (조직명 OU)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Common Name (eg, YOUR name) []:mydomain.co.kr (도메인명 CN)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Email Address []:my@email.com (이메일)&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;Please enter the following 'extra' attributes&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;to be sent with your certificate request&amp;nbsp;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;A challenge password []: &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;enter&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;font color=&quot;#565656&quot; face=&quot;Tahoma, gulim&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 16.9px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;An optional company name []: &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;enter&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;3. https://buy.wosign.com/free/ 접속 후 위에서 생성한&amp;nbsp;CSR 파일 내용 붙여넣기&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;4. zip 파일 다운로드&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;mydomain.co.kr_sha256_en.zip&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;5. 압축 파일 내 [&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;for Apache.zip&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;] 파일의 내용 추출 후 적용대상 서버에 업로드&lt;/span&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;color: rgb(86, 86, 86); font-family: Tahoma, gulim; font-size: 12px; line-height: 16.9px; border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;line-height: 16.9px; font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;1_root_bundle.crt&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;padding-top: 0px !important; padding-bottom: 0px !important;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;2_mydomain.co.kr.crt&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;6. 아파치 설정파일 변경&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 13px; line-height: normal;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;lt;VirtualHost *:443&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 13px; line-height: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;SSLEngine on&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;SSLCertificateKeyFile &amp;nbsp;/my/path/ssl/private.key&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;SSLCertificateFile &amp;nbsp; &amp;nbsp; &amp;nbsp; /my/path/ssl/&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 12px; line-height: 16.9px;&quot;&gt;2_mydomain.co.kr.crt&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;SSLCACertificateFile &amp;nbsp; /my/path/ssl/&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;1_root_bundle.crt&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif; font-size: 13px; line-height: normal;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;&amp;lt;/VirtualHost&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: &amp;quot;맑은 고딕&amp;quot;, sans-serif;&quot;&gt;7. 아파치 재기동&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바/J2EE</category>
      <category>apache</category>
      <category>ssl</category>
      <category>wosign</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/122</guid>
      <comments>https://finkle.tistory.com/122#entry122comment</comments>
      <pubDate>Thu, 4 Aug 2016 16:51:00 +0900</pubDate>
    </item>
    <item>
      <title>1개의 Tomcat에서 멀티 instance 구동하기</title>
      <link>https://finkle.tistory.com/121</link>
      <description>&lt;p&gt;1개의 Tomcat에서 2개의 instance를 띄우고자 하는 시나리오를 가정한다. (Tomcat 8.0 기준)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(121, 165, 228); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;1. Tomcat&amp;nbsp;설치 폴더 :&amp;nbsp;&lt;br /&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;/home/finkle/tomcat8&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. 인스탄스 1번 폴더 :&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;/home/finkle/instance/svc01&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. 인스탄스 2번 폴더 :&amp;nbsp;&lt;/p&gt;&lt;p style=&quot;margin-left: 2em;&quot;&gt;/home/finkle/instance/svc02&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. 톰캣 설치 폴더에서 1번&amp;nbsp;instance로 파일 복사&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;$ cd /home/finkle/instance/svc01&lt;br /&gt;&lt;/p&gt;&lt;p&gt;$ cp -R /home/finkle/tomcat8/* .&lt;/p&gt;&lt;p&gt;$ rm -rf bin lib LICENSE NOTICE RELEASE-NOTES RUNNING.txt&lt;/p&gt;&lt;p&gt;$ ls&lt;/p&gt;&lt;p&gt;conf logs temp webapps work&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;※ 2번 instance도 위와 같은 과정을 따라한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. conf/server.xml 수정 : 서비스를 위한 포트번호가 중복되지 않도록 설정한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;&lt;b&gt;1번 instance의 server.xml&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Server port=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;8005&lt;/span&gt;&quot; shutdown=&quot;SHUTDOWN&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;....&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;80&lt;/span&gt;&quot; protocol=&quot;HTTP/1.1&quot; Server=&quot;WAS-NAME&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionTimeout=&quot;20000&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;redirectPort=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;443&lt;/span&gt;&quot; URIEncoding=&quot;utf-8&quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;....&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;2번 instance의 server.xml&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Server port=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;8015&lt;/span&gt;&quot; shutdown=&quot;SHUTDOWN&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;....&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;Connector port=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;8010&lt;/span&gt;&quot; protocol=&quot;HTTP/1.1&quot; Server=&quot;WAS-NAME&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;connectionTimeout=&quot;20000&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;redirectPort=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;8443&lt;/span&gt;&quot; URIEncoding=&quot;utf-8&quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;....&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. 1번&amp;nbsp;instance의 Tomcat 구동 스크립트 작성&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;$ cd&amp;nbsp;/home/finkle/instance/svc01&lt;/p&gt;&lt;p&gt;$ mkdir bin&lt;/p&gt;&lt;p&gt;$ cd bin&lt;/p&gt;&lt;p&gt;$ touch startup.sh&lt;/p&gt;&lt;p&gt;$ touch shutdown.sh&lt;/p&gt;&lt;p&gt;$ chmod +x *.sh&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;startup.sh&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;hr style=&quot;display:block; border: black 0 none; border-top: black 1px solid; height: 1px&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;#!/bin/sh&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;CATALINA_BASE=/home/finkle/instance/svc01&lt;/p&gt;&lt;p&gt;CATALINA_OPTS=&quot;-Denv.servername=svc01&quot;&lt;/p&gt;&lt;p&gt;CATALINA_PID=/home/finkle/instance/svc01/svc01.pid&lt;/p&gt;&lt;p&gt;JAVA_OPTS=&quot;-Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -server -Xms512m -Xmx512m&quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;export CATALINA_BASE CATALINA_OPTS CATALINA_PID JAVA_OPTS&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;/bin/su -p -s /bin/sh finkle $CATALINA_HOME/bin/startup.sh&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;shutdown.sh&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;hr style=&quot;display:block; border: black 0 none; border-top: black 1px solid; height: 1px&quot;&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;/b&gt;#!/bin/sh&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;CATALINA_BASE=/home/finkle/instance/svc01&lt;/p&gt;&lt;p&gt;CATALINA_PID=/home/finkle/instance/svc01/svc01.pid&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;export CATALINA_BASE CATALINA_PID&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;/bin/su -p -s /bin/sh finkle $CATALINA_HOME/bin/shutdown.sh&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;※ 2번 instance도 위와 같은 과정을 따라한다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;도움받은 곳 :&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://linux.systemv.pe.kr/tomcat-multi-instance-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0/&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;http://linux.systemv.pe.kr/tomcat-multi-instance-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://beyondj2ee.wordpress.com/2012/07/03/%EB%A9%80%ED%8B%B0-%ED%86%B0%EC%BA%A3-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4%EB%A1%9C-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0-multiple-tomcat-instances/&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;https://beyondj2ee.wordpress.com/2012/07/03/%EB%A9%80%ED%8B%B0-%ED%86%B0%EC%BA%A3-%EC%9D%B8%EC%8A%A4%ED%84%B4%EC%8A%A4%EB%A1%9C-%EC%8B%A4%ED%96%89%ED%95%98%EA%B8%B0-multiple-tomcat-instances/&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바/J2EE</category>
      <category>Instance</category>
      <category>multi</category>
      <category>Tomcat</category>
      <category>멀티</category>
      <category>인스탄스</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/121</guid>
      <comments>https://finkle.tistory.com/121#entry121comment</comments>
      <pubDate>Thu, 14 Jul 2016 13:44:28 +0900</pubDate>
    </item>
    <item>
      <title>Tomcat8 : SSL 인증서 적용하기 (WoSign 무료 인증서)</title>
      <link>https://finkle.tistory.com/120</link>
      <description>&lt;p&gt;무료로 SSL 인증서를 배포하는 wosign(회원가입 필요)에서 인증서를 생성해 Tomcat 서버에 적용하는 과정에서 몇 번의 삽질 끝에 성공한 절차를 기록해본다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;1. 개인키 파일 생성&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;# keytool -genkey -keyalg RSA -sigalg SHA1withRSA -alias&amp;nbsp;mySSL&amp;nbsp;-keysize 2048 -keystore &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;mySSL.jks&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;키 저장소 비밀번호 입력: &amp;nbsp;&lt;/p&gt;&lt;p&gt;새 비밀번호 다시 입력:&amp;nbsp;&lt;/p&gt;&lt;p&gt;이름과 성을 입력하십시오.&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;Finkle&lt;/p&gt;&lt;p&gt;조직 단위 이름을 입력하십시오.&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;Finkle&lt;/p&gt;&lt;p&gt;조직 이름을 입력하십시오.&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;RND&lt;/p&gt;&lt;p&gt;구/군/시 이름을 입력하십시오?&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;Seoul&lt;/p&gt;&lt;p&gt;시/도 이름을 입력하십시오.&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;Seoul&lt;/p&gt;&lt;p&gt;이 조직의 두 자리 국가 코드를 입력하십시오.&lt;/p&gt;&lt;p&gt;&amp;nbsp; [Unknown]: &amp;nbsp;KR&lt;/p&gt;&lt;p&gt;CN=Finkle, OU=Finkle, O=RND, L=Seoul, ST=Seoul, C=KR이(가) 맞습니까?&lt;/p&gt;&lt;p&gt;&amp;nbsp; [아니오]: &amp;nbsp;y&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;mySSL&amp;gt;에 대한 키 비밀번호를 입력하십시오.&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;(키 저장소 비밀번호와 동일한 경우 Enter 키를 누름): &amp;nbsp;&lt;/p&gt;&lt;p&gt;새 비밀번호 다시 입력:&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. 생성된 파일 확인&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;# keytool -list -keystore&amp;nbsp;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;mySSL.jks&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;3. CSR 생성&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;# keytool -certreq -alias&amp;nbsp;mySSL&amp;nbsp;-keyalg RSA -sigalg SHA1withRSA -file &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;mySSL.csr&lt;/span&gt; -keystore&amp;nbsp;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;mySSL.jks&lt;/span&gt;&lt;/p&gt;&lt;p&gt;키 저장소 비밀번호 입력:&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;4. https://buy.wosign.com/free/ 접속 후 위에서 생성한&amp;nbsp;CSR 파일 내용 붙여넣기&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;5. zip 파일 다운로드&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;mydomain.co.kr_sha256_en.zip&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;6. 압축 파일 내 [for Other Server.zip] 파일의 내용 추출 후 적용대상 서버에 업로드&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;root.crt&lt;/p&gt;&lt;p&gt;1_cross_Intermediate.crt&lt;/p&gt;&lt;p&gt;2_issuer_Intermediate.crt&lt;/p&gt;&lt;p&gt;3_user_mydomain.co.kr.crt&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;7. Tomcat에 적용할 정보 키스토어 파일에 적용&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;# keytool -import -trustcacerts -alias WoSignROOT -file root.crt -keystore&amp;nbsp;mySSL.jks&lt;/p&gt;&lt;p&gt;# keytool -import -trustcacerts -alias CrossINTER -file 1_cross_Intermediate.crt -keystore&amp;nbsp;mySSL.jks&lt;/p&gt;&lt;p&gt;# keytool -import -trustcacerts -alias IssuerINTER -file 2_issuer_Intermediate.crt -keystore&amp;nbsp;mySSL.jks&lt;/p&gt;&lt;p&gt;# keytool -import -alias&amp;nbsp;mySSL-file&amp;nbsp;3_user_mydomain.co.kr.crt -keystore&amp;nbsp;mySSL.jks&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;8. 내용 확인&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;# keytool -list -v -keystore&amp;nbsp;mySSL.jks&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;9. 톰캣 설정 파일 변경&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(193, 193, 193); padding: 10px; background-color: rgb(238, 238, 238);&quot;&gt;&lt;p&gt;$ vi server.xml&lt;/p&gt;&lt;p&gt;&amp;lt;Connector port=&quot;443&quot; protocol=&quot;HTTP/1.1&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;maxThreads=&quot;150&quot; SSLEnabled=&quot;true&quot; scheme=&quot;https&quot; secure=&quot;true&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;keystoreFile=&quot;/home/path/tools/ssl/mySSL.jks&quot; keystorePass=&quot;xxxx&quot;&lt;/span&gt; /&amp;gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;&lt;/p&gt;&lt;p&gt;10. 톰캣 재기동&lt;/p&gt;</description>
      <category>자바/J2EE</category>
      <category>keytool</category>
      <category>ssl</category>
      <category>Tomcat</category>
      <category>wosign</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/120</guid>
      <comments>https://finkle.tistory.com/120#entry120comment</comments>
      <pubDate>Thu, 30 Jun 2016 11:25:01 +0900</pubDate>
    </item>
    <item>
      <title>MariaDB(or MySQL) : InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMITTED오류</title>
      <link>https://finkle.tistory.com/119</link>
      <description>&lt;p&gt;10여년간 오라클만 쓰다가 오랜만에 MySQL 사용할려니 넘어야 할 산이 계속 생기네.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;아래 주소 참고해서 해결함&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://www.mysqlkorea.com/sub.html?mcode=manual&amp;amp;scode=01_1&amp;amp;m_no=22396&amp;amp;cat1=753&amp;amp;cat2=802&amp;amp;cat3=938&amp;amp;lang=k&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;http://www.mysqlkorea.com/sub.html?mcode=manual&amp;amp;scode=01_1&amp;amp;m_no=22396&amp;amp;cat1=753&amp;amp;cat2=802&amp;amp;cat3=938&amp;amp;lang=k&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;http://egloos.zum.com/ndba/v/3437272&quot; target=&quot;_blank&quot; class=&quot;tx-link&quot;&gt;http://egloos.zum.com/ndba/v/3437272&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>데이타베이스/MySQL</category>
      <category>binlog_format</category>
      <category>mariadb</category>
      <category>MySQL</category>
      <category>리플리케이션</category>
      <category>트랜잭션</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/119</guid>
      <comments>https://finkle.tistory.com/119#entry119comment</comments>
      <pubDate>Fri, 17 Apr 2015 14:05:09 +0900</pubDate>
    </item>
    <item>
      <title>MariaDB(or MySQL) 1093 오류 발생 시</title>
      <link>https://finkle.tistory.com/118</link>
      <description>&lt;p&gt;아래와 같은 SQL을 실행할 때&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;INSERT INTO T_NAME (&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ID, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NAME,&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt;	&lt;/span&gt;ORDER_NO&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;VALUES (&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; #{id}, &amp;nbsp; &amp;nbsp; &amp;nbsp;#{name},&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; (&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SELECT IFNULL(MAX(ORDER_NO), 0) + 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; FROM T_NAME&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE ID = #{id}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; )&lt;/p&gt;&lt;p&gt;)&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;SQL 오류 (1093): Table 'T_NAME' is specified twice, both as a target for 'INSERT' and as a separate source for data&lt;/b&gt; 와 같은 오류가 발생한다면 ....&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-size: 9pt; line-height: 1.5;&quot;&gt;INSERT INTO T_NAME (&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ID, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NAME,&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;ORDER_NO&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;p&gt;VALUES (&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; #{id}, &amp;nbsp; &amp;nbsp; &amp;nbsp;#{name},&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; (&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; SELECT IFNULL(MAX(ORDER_NO), 0) + 1&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; FROM T_NAME &lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;b&gt;ALIAS_FOR_SUBQUERY&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;WHERE ID = #{id}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; )&lt;/p&gt;&lt;p&gt;)&lt;/p&gt;&lt;/div&gt;&lt;p&gt;위와 같이 서브쿼리 대상 테이블에 별명(alias)을 주면 해결된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;오라클에서는 동일 테이블 내에서의 서브쿼리 조합이 가능하지만 MariaDB(or MySQL)는 기본적으로&amp;nbsp;지원하지 않는 것 같다.&lt;/p&gt;</description>
      <category>데이타베이스/MySQL</category>
      <category>1093</category>
      <category>mariadb</category>
      <category>MySQL</category>
      <category>SubQuery</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/118</guid>
      <comments>https://finkle.tistory.com/118#entry118comment</comments>
      <pubDate>Fri, 17 Apr 2015 13:07:13 +0900</pubDate>
    </item>
    <item>
      <title>MyBatis + MariaDB(or MySQL) 사용 시 resultType 맵핑 안될 경우</title>
      <link>https://finkle.tistory.com/117</link>
      <description>&lt;p&gt;MyBatis + MariaDB(or MySQL) 사용 시 select 결과가&amp;nbsp;resultType으로 지정한 Class에 바인딩(맵핑)이 안된다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(219, 232, 251); padding: 10px; background-color: rgb(219, 232, 251);&quot;&gt;&lt;p&gt;&amp;lt;mapper namespace=&quot;_mgr&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; .... 생략 ....&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;select id=&quot;view&quot; &lt;b&gt;resultType=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;mgrBean&lt;/span&gt;&quot; &lt;/b&gt;parameterType=&quot;string&quot;&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SELECT MGR_ID AS mgrId,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MGR_NM AS mgrNm&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .... 생략 ....&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; FROM CO_MGR&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; WHERE MGR_ID = #{mgrId}&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/select&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ....&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;위에서 'view' id를 갖는 쿼리문의 실행결과는 resultType으로 지정한 mgrBean이라는 alias로 지정된 클래스의 멤버변수에 자동으로 바인딩(맵핑)&amp;nbsp;되어야 하는데 일부 칼럼은 되고, 일부 칼럼은 안되는 경우가 발생했다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;구글신에게 물어봐도 답을 못찾아서 이것 저것 설정 파일을 건드리다가 아래와 같이 해결했다.&lt;/p&gt;&lt;p&gt;(구글이 못찾을 경우의 대부분은 내가 만난 문제가 매우 지엽적인 경우이다. 따라서 내 환경에 문제가 있을 가능성이 높다)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class=&quot;txc-textbox&quot; style=&quot;border: 1px solid rgb(231, 253, 181); padding: 10px; background-color: rgb(231, 253, 181);&quot;&gt;&lt;p&gt;[myBatis 설정파일]&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;configuration&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; .... 생략 ....&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;lt;setting name=&quot;&lt;b&gt;useColumnLabel&lt;/b&gt;&quot; value=&quot;&lt;span style=&quot;color: rgb(255, 0, 0);&quot;&gt;&lt;b&gt;true&lt;/b&gt;&lt;/span&gt;&quot; /&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; ....&lt;/p&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;DB 칼럼명 대신에 칼럼라벨을 대신 사용하겠다는 설정이며 디폴트 값은 true이다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;이전에 오라클을 사용하면서 저 값을 fasle로 설정한 후 문제가 없었기에 다른 DB에서도 당연히 정상 동작하는 줄 알았는데 MariaDB를 사용하니 문제가 발생했다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;JDBC 드라이버 바꿔가면서 1시간 정도 삽질한 기념으로, 본 시행착오를&amp;nbsp;글로 남겨본다.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>데이타베이스/MySQL</category>
      <category>maraidb</category>
      <category>mybatis</category>
      <category>MySQL</category>
      <category>not work</category>
      <category>resultType</category>
      <category>맵핑</category>
      <category>바인딩</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/117</guid>
      <comments>https://finkle.tistory.com/117#entry117comment</comments>
      <pubDate>Tue, 14 Apr 2015 11:11:45 +0900</pubDate>
    </item>
    <item>
      <title>Jeus에서 503 service temporarily unavailable 에러 발생 시</title>
      <link>https://finkle.tistory.com/116</link>
      <description>&lt;p&gt;503 에러는 사용자 폭주시 일시적으로 발생하는 에러라고 구글이 알려줌.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;그러나 나에게 주어진 상황은 이와 달라 원인찾는데 애먹음.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;현상 :&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;특정 페이지를 방문한 후 다른 페이지를 방문할 시 503 에러가 발생함&lt;/p&gt;&lt;p&gt;다른 페이지에서 방문할 경우는 이상 없음&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;원인 :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;해당 페이지 내 &amp;nbsp;삽입된 이미지에서&amp;nbsp;404 에러 발생 후 타 페이지 이동시 발생하는&amp;nbsp;현상으로 파악됨&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;조치 :&lt;/b&gt;&lt;/p&gt;&lt;p&gt;이미지에서 200 코드 나오도록 수정함&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;※ 톰캣에서는 정상이나 제우스에서만 발생하는 현상이라 원인찾기 힘들었음. 아마&amp;nbsp;&lt;span style=&quot;font-size: 9pt; line-height: 1.5; background-color: transparent;&quot;&gt;웹투비 쪽 설정상의 문제가 아닐까 추정함.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description>
      <category>자바/J2EE</category>
      <category>503</category>
      <category>JEUS</category>
      <author>finkle</author>
      <guid isPermaLink="true">https://finkle.tistory.com/116</guid>
      <comments>https://finkle.tistory.com/116#entry116comment</comments>
      <pubDate>Fri, 11 Jul 2014 18:13:31 +0900</pubDate>
    </item>
  </channel>
</rss>