Software /
code /
prosody
Changeset
5926:4fd1e660744d
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 24 Nov 2013 14:24:53 +0100 |
parents | 5923:002db30661da (current diff) 5925:826c522f303a (diff) |
children | 5929:e6d5956d05e6 |
files | certs/localhost.crt certs/localhost.key |
diffstat | 4 files changed, 25 insertions(+), 37 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Thu Nov 21 02:15:36 2013 +0000 +++ b/Makefile Sun Nov 24 14:24:53 2013 +0100 @@ -17,6 +17,7 @@ all: prosody.install prosodyctl.install prosody.cfg.lua.install prosody.version $(MAKE) -C util-src install + $(MAKE) -C certs localhost.crt example.com.crt install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so install -d $(BIN) $(CONFIG) $(MODULES) $(SOURCE)
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/certs/localhost.cnf Sun Nov 24 14:24:53 2013 +0100 @@ -0,0 +1,24 @@ +[v3_extensions] +extendedKeyUsage = serverAuth,clientAuth +keyUsage = digitalSignature,keyEncipherment +basicConstraints = CA:FALSE +subjectAltName = @subject_alternative_name + +[subject_alternative_name] +DNS.0 = localhost +otherName.0 = 1.3.6.1.5.5.7.8.7;IA5STRING:_xmpp-client.localhost +otherName.1 = 1.3.6.1.5.5.7.8.7;IA5STRING:_xmpp-server.localhost +otherName.2 = 1.3.6.1.5.5.7.8.5;FORMAT:UTF8,UTF8:localhost + +[distinguished_name] +countryName = GB +organizationName = Prosody IM +organizationalUnitName = http://prosody.im/doc/certificates +commonName = Example certificate + +[req] +prompt = no +x509_extensions = v3_extensions +req_extensions = v3_extensions +distinguished_name = distinguished_name +
--- a/certs/localhost.crt Thu Nov 21 02:15:36 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,22 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDojCCAwugAwIBAgIJAPO1OI+vmUi8MA0GCSqG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n+j+/ -5zoiP5wAGLpdZE+Iatzd26QwVsL61zd5399nEb1yFs3Hl9jo4W3idyNoofa67atX -2/+3juA0Q/oN/ZT16bWihmcrzv+Qd/CsQfMOZ5ApYV4SEw40L6GITtrZuBDjO4mU -TavhtScoGRzrZavhJG+PyhDH0Scglg== ------END CERTIFICATE-----
--- a/certs/localhost.key Thu Nov 21 02:15:36 2013 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ ------BEGIN RSA PRIVATE KEY----- -MIICWwIBAAKBgQDeZ+cu/gO1elmeZ//p+Hqox4kPqdFw9QWANuN+QIMyhEfopZqw -hb+fWllSIt40tGAd4KDJrkpPDy7/KYv64xCmIcw6IrqFvy784yuaVc2xTDZZFuSN -LeC6429pTJMW0K/wf5NO0Q5SSSUU5q9o+De7zKM51RW40GOnUQL97L2GRQIDAQAB -AoGAYaWw5Pr12en8CwaSX8GO6SeiT9Q5dqS9Y4u12iqs77MQd16uSi6O8YITkXJp -qS5AvR1wutvhGFEMS0+Me/zRw62OFc2VVrKmX6eqgRMR8d/+SZjqzUxb4pNIAPQU -dHbQzqGXermf6UWm6Cbi7vN0diohd8Qoj98PeWfRQrXju0kCQQD3OXD2SEevEhNe -g4YTREsyUkZV1etkldhAeDAJzlitCQdQF5zE9Wt/Ahv0BKlLTaz3mvSDwrI+lXYQ -1iDzOrXrAkEA5kzu1A3Y2gclyRupTg7crgp+afh1fLKCIVUaFdOYgwQDX90YnnIq -TaY4uQ8Eutoixha4ZM4/bJq17YjjY1O4jwJAZMEHNYftlv7h3/HwMWfy0XZQbej5 -vwuGj3er9EMhRpvYXB7TaD2w6pkcdU11BViJtntzTUOKyxC0hlYOJbJ2swJAOL3N -vhtnSVine6RAE4Zf4tWdDdj0gXOt0i6YjbYjhmwvtKfR0AAK4jTJFvdXT/48wReJ -+PRD9issFck7VRakiwJAPTgFUTsFCR1ZPcuCPHSCK/wz2NFma/O5Eqm0qTIbNUfw -3qDRyUuKbyr3bAc+K+asN5ok2PAnhiRUIpu146M17w== ------END RSA PRIVATE KEY-----