Web services: Difference between revisions

m
Line 4: Line 4:
=== Generate a CSR ===
=== Generate a CSR ===


This will generate a 2048-bit key (secure & insecure) for usage on a website.
This will generate a 2048-bit key (secure & insecure) and CSR for usage on a website. CSR is short for Certificate Signing Request and is usually requested by CA (Certificate Authority) when trying to obtain a SSL/TLS certificate.


1. Create a secure key for CSR
1. Create a secure key for CSR
Line 34: Line 34:
$ openssl req -new -key server.key -out server.csr
$ openssl req -new -key server.key -out server.csr
</syntaxhighlight>
</syntaxhighlight>
* ''Last tested on Ubuntu 14.04.2 LTS (trusty) | easy | less than five minutes''