일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- OTP
- FIDO2
- appres
- Xcode
- SWIFT
- git
- openssl
- otpkey
- fido
- SSL
- albumbook
- apple
- 앨범북
- 2FA
- css
- 앱스토어
- MSYS2
- 애플
- kmip
- MYSQL
- 인증
- 안드로이드
- Android
- 앱리소스
- OSX
- SwiftUI
- MFA
- SSH
- Nodejs
- WebAuthn
- Today
- Total
목록인증기술/OpenSSL (21)
인디노트
https://www.cs.utah.edu/~swalton/listings/articles/ssl_client.c/* ssl_client.c * * Copyright (c) 2000 Sean Walton and Macmillan Publishers. Use may be in * whole or in part in accordance to the General Public License (GPL). * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF ME..
http://pchero21.com/?p=603
Client#include #include #include #include #include #include #include #include #include #include int create_socket(int port) { /* returns a valid socket fd */ } int main(int argc, char **argv) { int sock; SSL *ssl; SSL_CTX *ctx; const SSL_METHOD *method; X509_VERIFY_PARAM *param; /* init */ SSL_load_error_strings(); OpenSSL_add_ssl_algorithms(); /* create context */ method = TLSv1_2_client_method..
#include int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x); int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, unsigned char *d); int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type); int SSL_use_certificate(SSL *ssl, X509 *x); int SSL_use_certificate_ASN1(SSL *ssl, unsigned char *d, int len); int SSL_use_certificate_file(SSL *ssl, const char *file, int type); int SSL..
Example of secure server-client program using OpenSSL in CIn this example code, we will create a secure connection between client and server using the TLS1.2 protocol. In this communication, the client sends an XML request to the server which contains the username and password.The server verifies the XML request, if it is valid then it sends a proper XML response to the client either give a mess..
다음의 절차로 컴파일 한다. (64 비트) make clean ./Configure darwin64-x86_64-cc -shared --prefix=/usr/local ./config no-asm enable-seed enable-cms enable-ssl2 enable-ssl3 no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc4 no-rc5 no-zlib-dynamic make depend && make make test make install OpenSSL 접속 테스트 openssl s_client -connect lgdrone.svc.entrust.kr:1443 brew install nmap nmap --script ssl-enum-ciphers -p 1443 lgdro..
http://fm4dd.com/openssl/certserial.htm IntroductionThe example 'C' program certserial.c demonstrates how to extract the serial number from a X.509 digitial certificate, using the OpenSSL library functions.Example Code Listing/* ------------------------------------------------------------ * * file: certserial.c * * purpose: Example code for OpenSSL certificate serials * * author: 06/12/2012 Fran..
IntroductionThe example 'C' program certrenewal.c demonstrates how to create a new CSR request from a existing X.509 digitial certificate, using the OpenSSL library functions. This is helpful to renew expiring certificates.Example Code Listing/* ------------------------------------------------------------ * * file: certrenewal.c * * purpose: Example code for OpenSSL certificate renewal * * autho..
먼저 HTTPS통신을 구현 하기 하기전, SSL 이란?Secure Socket Layer의 약자로 SSL 프로토콜은 간단하게 웹서버와 브라우저 사이의 보안을 위해 만들어졌다. 간단하게 요약하자면 대칭키를 이용하여 암호화 통신을 한다! HTTP에 SSL 적용을 하여 Https 통신을 하게된다! 이러한 암호화 통신을 하기 위해선 SSL 인증서가 필요하다. SSL 인증서란 해당 웹 사이트가 해킹에 신뢰있는 사이트인지, 안전한 통신을하는 사이트인지를 구분하기 위해누군가가 이 사이트가 신뢰가 있는 사이트라고 인증을 해주기 위한 인증서이다. 인증서에는 인증서 소유자의 email, 소유자 이름, 인증서 용도, 인증서 유효기간, 발행기관, public key 등이포함되어 있다. 인증서에 서명한 사람을 신뢰한다면, 서명..
How to Use OpenSSL to Generate X.509 Certificate RequestLincoln Hughes / March 4, 2014 / OpenSSL, Security/ certificate signing request, OpenSSL3 CommentsIn this tutorial, let’s learn how to use OpenSSL to generate X.509 certificate request.Certificate signing request is a message sent from an applicant to a certificate authority, which usually includes:Country Name (2 letter code) [US]State or ..