Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Costa's Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
SSL Certificate signed by your own CA
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
1. Generate self-signed root CA certificate mkdir -p /root/internalca cd /root/internalca openssl genrsa -out rootCAKey.pem 2048 openssl req -x509 -sha256 -new -nodes -key rootCAKey.pem -days 3650 -out rootCACert.pem ''to check it'' openssl x509 -in rootCACert.pem -text 2. Generate certificate request mkdir -p /tmp/rbakeys cd /tmp/rbakeys openssl genrsa -out rbaServerKey.pem 2048 openssl req -new -key rbaServerKey.pem -sha256 -out rbaServerCert.csr ''to check CSR'' openssl req -in rbaServerCert.csr -noout -text You can use config file vi ServerCertReq.config [req] req_extensions = v3_req distinguished_name = dn prompt = no [dn] CN = <FQDN of your RBA server> C = <Country Name (2 letter code)> L = <Locality Name (eg, city)> O = <Organization Name (eg, company)> OU = <Organizational Unit Name (eg, section)> [v3_req] subjectAltName = DNS:<FQDN of your RBA server> ''and to create CSR'' openssl req -new -key rbaServerKey.pem -sha256 -out rbaServerCert.csr -config ServerCertReq.config 3. Generate and sign certificate openssl x509 -req -sha256 -in rbaServerCert.csr -CA /root/internalca/rootCACert.pem -CAkey /root/internalca/rootCAKey.pem -CAcreateserial -out rbaServerCert.pem -days 365 ''to check certificate'' openssl x509 -in rbaServerCert.pem -text -noout
Summary:
Please note that all contributions to Costa's Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
SSL Certificate signed by your own CA
Add topic