certificates:create_a_self-signed_certificate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
certificates:create_a_self-signed_certificate [2016/11/10 10:31] – peter | certificates:create_a_self-signed_certificate [2019/11/26 21:48] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Certificates - Create a self-signed certificate ====== | ||
- | You can create a self-signed certificate using the req command provided with OpenSSL, like this: | ||
- | |||
- | <code bash> | ||
- | openssl req -x509 -newkey rsa:1024 -keyout file1 -out file2 -days 9999 -nodes | ||
- | </ | ||
- | |||
- | file1 and file2 can be the same file; the key and the certificate are delimited and so can be identified independently. | ||
- | |||
- | <WRAP important> | ||
- | <color red> | ||
- | </ | ||
- | |||
- | A self-signed certificate made in this way is sufficient for testing, and may be adequate for all your requirements if you are mainly interested in encrypting transfers, and not in secure identification. | ||
- | |||
- | However, many clients require that the certificate presented by the server be a user (also called “leaf” or “site”) certificate, | ||
- | |||
- | For information on creating self-signed CA certificates and using them to sign user certificates, |
certificates/create_a_self-signed_certificate.1478773900.txt.gz · Last modified: 2020/07/15 09:30 (external edit)