A 7.1. install the openssl package, A 7.2. make root ca (for self-signed) – SENA STS Series User Manual
Page 125
![background image](/manuals/292722/125/background.png)
125
Appendix 7. How To Make A Certificate For SSL Encryption
A 7.1. Install The OpenSSL Package
Step 1. Download the latest OpenSSL package. (
http://www.openssl.org
)
Step 2. Install the OpenSSL package.
Download OpenSSL for Windows binary file and run it.
(
http://www.slproweb.com/products/Win32OpenSSL.html
)
Download OpenSSL source code and compile it.
# cd /work/
# tar –xvzf openssl-0.9.7d.tar.gz
# cd openssl-0.9.7d
# ./config
# make
# make test
# make install
A 7.2. Make root CA (For Self-signed)
Step 1. Editing openssl configuration file.
Default configuration file location is as follows,
< Windows >
C:\Program Files\OpenSSL\bin
< Linux >
/usr/share/ssl/openssl.cnf
Modify [req_distinguished_name] section as follows,
countryName
= Country Name (2 letter code)
countryName_default
= KR
countryName_min
= 2
countryName_max
= 2
stateOrProvinceName
= State or Province Name (full name)
#stateOrProvinceName_default
= Some-State
localityName
= Locality Name(eg, city)
localityName_default
= Seoul
0.organizationName
= Organization Name (eg, company)
0.organizationName_default
= Sena Technologies Inc.