한국어

소프트스위치

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


http://shincdevnote.blogspot.kr/search/label/ONVIF

인증서 만들기

출처 : 딤딤이 블로그(http://dimdim.tistory.com/50)

openssl 을 이용한 인증서 생성 절차를 정리한다.
참고로 여기서 개인키파일(key.pem), CSR파일(csr.pem), 인증서 파일 (crt.pem) 등의 파일명은 마음데로 변경할 수 있다.
1. 개인키 파일 생성
  - Random Sate 사용 여부 및 암호화는 필수가 아닌 선택사항이다.
  - 키파일을 암호화할 경우 패스워드 입력이 필요하며, 해당 패스워드를 알아야만 키파일을 사용할 수 있다. (암호화 했으니까 복호화해야 키값을 알지!!! 암복호화에 사용되는 것이 패스워드고!!!)
openssl md5 * > rand.dat  #Random State 파일 생성
openssl genrsa -rand rand.dat -des3 1024 > key.pem    #Random State 사용 & des3 암호화 사용 & 1024 bit 키 생성
openssl genrsa -des3 1024 > key.pem  #des3 암호화 사용 & 1024 bit 키 생성
openssl genrsa 1024 > key.pem  #1024bit 키생성 (패스워드 필요없음)
openssl genrsa > key.pem  #기본 512bit 키 생성

2. CSR 생성
  - CSR은 "Certificate Signing Request" 의 약자로 인증서 서명 요청을 의미한다. 좀더 쉽게 설명하면 CSR 파일은 인증서를 발급받기 위해서 나는 "아무개"이고 키값은 어떤걸 사용한다는 정보를 저장하고 있다.
openssl req -new -key key.pem > csr.pem
Enter pass phrase for key.pem:    #키파일 생성시 사용한 패스워드 입력 (키파일을 암호화한 경우만 필요한 과정임)
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [GB]:                                         #ISO 국가코드 입력
State or Province Name (full name) [Berkshire]:                       #도/시 입력
Locality Name (eg, city) [Newbury]:                                        #도시명 입력
Organization Name (eg, company) [My Company Ltd]:              #회사명 입력
Organizational Unit Name (eg, section) []:                               #조직명 입력
Common Name (eg, your name or your server's hostname) []:   #사용자명 혹은 서버 호스트명
Email Address []:                                                                 #이메일주소

3. SSL 인증서 파일 생성
3.1 공인 인증서 파일 생성
  - 공인인증서 발급 기관의 박급절차를 따라 인정서 파일을 발급받으며 인정서 발급시 위에서 생성한 CSR 파일이 필요하다.
  - 공인 인증 기관은 아래와 같다.
    + 한국전자인증 : http://www.crosscert.com
    + 금융결제원 전자인증센터(yessign) : https://www.yessign.or.kr/ssl/index.htm
3.2 사설 인증서 파일 생성
  - openssl을 이용하여 사설 인증서 파일을 생성한다. 
openssl req -key key.pem -x509 -nodes -sha1 -days 365 -in csr.pem -out crt.pem

조회 수 :
23103
등록일 :
2017.09.14
15:32:04 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3311890&act=trackback&key=e7f
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3311890
List of Articles
번호 제목 글쓴이 조회 수sort 추천 수 날짜
168 OpenSIPS Control Panel (OCP) Installation Guide admin 278058   2014-03-06
 
167 Opensips Gateway between SIP and SMPP messages admin 265295   2019-02-19
 
166 What is new in 1.8.0 opensip admin 250780   2012-05-21
 
165 What is new in 2.3.0 opensips admin 243512   2017-09-04
 
164 Using SIP Devices behind NAT OPensip Asterisk IPPhone SIP Telephony file admin 223694   2013-03-31
 
163 OpenSIPS vs Asterisk admin 218144   2013-04-06
 
162 PUSH SERVER 푸시서버 안드로이드 애플 admin 207167   2017-09-11
 
161 MediaProxy Installation Guide admin 179375   2014-03-06
 
160 telepresence: Open Source SIP Telepresence/MCU admin 177927   2014-03-12
 
159 RTPproxy Frequentry Asked Questions (FAQ) ¶ admin 174423   2014-03-07
 
158 SIP PBX - OpenSIPS and Asterisk configuration admin 160261   2014-03-12
 
157 Asterisk v1.4x built on FreeBSD v7.1 UNIX admin 148190   2012-01-06
 
156 사설 망 환경에서 SIP 의 NAT Traversal 문제 admin 142796   2011-12-23
 
155 How to install Mediaproxy 2.5.2 on CentOS 6 64 bit admin 142418   2017-09-04
 
154 SIP 트래픽 생성 테스트 툴 admin 135576   2011-12-23
 
153 opensips command /sbin/opensipsctl detail admin 123946   2017-09-04
 
152 How to setup a Jabber / XMPP server on Debian 8 (jessie) using ejabberd admin 123181   2017-09-13
 
151 Opensips_1.9 install guide this is great I like this admin 106651   2014-03-04
 
150 OpenSIPS basic configuration script 기본 컨피그 admin 104242   2017-09-05
 
149 Welcome to the Smartvox Knowledgebase admin 103878   2013-04-06
 
148 Installing RTPproxy Start RTPproxy in Bridged mode very good admin 101112   2014-03-07
 
147 오픈소스 (사내)메신저 서버 구축, 오픈 파이어(openfire) 설치방법과 세팅 admin 100658   2014-08-11
 
146 Flooding Asterisk, Freeswitch and Kamailio with Metasploit admin 98811   2013-04-06
 
145 OpenSIPS Control Panel install guide admin 95204   2014-03-06
 
144 dictionary.opensips radius admin 94007   2017-12-09
 
143 Installation and configuration process record opensips 1.9.1 admin 93734   2014-08-09
 
142 My new toy: Bluebox-ng admin 90789   2013-04-06
 
141 in opensips what is lookup(domain [, flags [, aor]]) admin 90313   2017-12-09
 
140 Conference Support in Kamailio (OpenSER) admin 84108   2014-03-12
 
139 Kamailo OpenSIPs installation on Debian admin 81025   2014-03-09