Categories
PKI

GnuTLS Certificate Authority Commands

By @sskaje
Link: https://sskaje.me/2015/12/gnutls-certificate-authority-commands/

Apple has its own certtool, GnuTLS’ certtool is renamed as gnutls-certtool in MacPorts.

Create Private Key

GnuTLS

OpenSSL

Create Certificate Request

GnuTLS

You can also create your own template file rather than filling interactively.

OpenSSL

Sign request

GnuTLS

OpenSSL

I don’t like openssl.cnf!

Show certificate information

GnuTLS

OpenSSL

Export as A PKCS#12

GnuTLS

OpenSSL

Extract Keys And Certificates from PKCS#12

GnuTLS

I don’t know how…
You can manually copy from –p12-info

OpenSSL

Show PKCS#12 Structure

GnuTLS

OpenSSL

GnuTLS Certificate Authority Commands by @sskaje: https://sskaje.me/2015/12/gnutls-certificate-authority-commands/

Incoming search terms:

Categories
PHP

PHP解密AES

By @sskaje
Link: https://sskaje.me/2015/02/php-aes-encrypt-decrypt/

分析某客户端协议,发现如下代码:

这个和之前分析航旅纵横客户端时的代码类似,都是128位ECB。
当时只是用openssl看了看请求:

于是参考mcrypt的文档,写了简单的代码实现上边Java代码里的AES 128 ECB加密解密

PHP解密AES by @sskaje: https://sskaje.me/2015/02/php-aes-encrypt-decrypt/

Incoming search terms:

Categories
OS X PKI 学习研究 笔记

Generate Certificate with GnuTLS and Sign with OpenSSL

By @sskaje
Link: https://sskaje.me/2014/02/generate-certificate-gnutls-sign-openssl/

In iOS IPSec VPN Server on Ubuntu, I create a local CA with openssl.
I’m setting up an OpenConnect VPN, which uses GnuTLS’s certtool generating ca and sign certificates.

I want to use share the same Root CA for both OpenSSL and GnuTLS, so I’m generating request from GnuTLS and signing with OpenSSL.
Apple has it’s own certtool different from GnuTLS, the MacPorts one is named as gnutls-certtool

Prepare

Create private key

Generate Certificate with GnuTLS and Sign with OpenSSL by @sskaje: https://sskaje.me/2014/02/generate-certificate-gnutls-sign-openssl/

Incoming search terms:

Categories
Apple OS X 笔记 项目、研究

Export Profile from Apple Configurator and Sign

By @sskaje
Link: https://sskaje.me/2014/02/export-profile-apple-configurator-sign/

Export Profile

1 Prepare -> Settings

Apple Configurator
Turn Supervision ON
Supervision turned ON

Export Profile from Apple Configurator and Sign by @sskaje: https://sskaje.me/2014/02/export-profile-apple-configurator-sign/
Categories
Apple iOS 学习研究 操作系统相关 算法、协议 逆向

Apple signed fake device attributes?

By @sskaje
Link: https://sskaje.me/2013/10/apple-signed-fake-device-attributes/

You are not authorised to read all content in this post.

Please login…

Apple signed fake device attributes? by @sskaje: https://sskaje.me/2013/10/apple-signed-fake-device-attributes/