From: Adam Dickmeiss Date: Fri, 3 May 2013 10:51:35 +0000 (+0200) Subject: SSL server example X-Git-Tag: v1.3.56~21 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=08385bdedb0bf44f9e5bc27bfa21dcf2c9b103a1;p=metaproxy-moved-to-github.git SSL server example --- diff --git a/etc/Makefile.am b/etc/Makefile.am index 4fe61d9..2b75022 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -24,7 +24,8 @@ xmlconfig = $(srcdir)/config-bytarget.xml \ $(srcdir)/config-zoom.xml \ $(srcdir)/retrieval-info.xml -config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml +config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml \ + ztest.pem rng = $(srcdir)/../xml/schema/metaproxy.rng diff --git a/etc/config4.xml b/etc/config4.xml index d01f8d0..02899d2 100644 --- a/etc/config4.xml +++ b/etc/config4.xml @@ -7,6 +7,7 @@ 10 @:9000 + ssl:@:9001 M diff --git a/etc/ztest.pem b/etc/ztest.pem new file mode 100644 index 0000000..4e3d211 --- /dev/null +++ b/etc/ztest.pem @@ -0,0 +1,35 @@ +-----BEGIN CERTIFICATE----- +MIIDNzCCAqCgAwIBAgIJAJm06bCx5AKQMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNV +BAYTAkRLMRMwEQYDVQQHEwpDb3BlbmhhZ2VuMRcwFQYDVQQKEw5JbmRleCBEYXRh +IEFwUzESMBAGA1UEAxMJbG9jYWxob3N0MSAwHgYJKoZIhvcNAQkBFhFhZGFtQGlu +ZGV4ZGF0YS5kazAeFw0xMjExMTQxNzQ3MDNaFw0yMjExMTIxNzQ3MDNaMHExCzAJ +BgNVBAYTAkRLMRMwEQYDVQQHEwpDb3BlbmhhZ2VuMRcwFQYDVQQKEw5JbmRleCBE +YXRhIEFwUzESMBAGA1UEAxMJbG9jYWxob3N0MSAwHgYJKoZIhvcNAQkBFhFhZGFt +QGluZGV4ZGF0YS5kazCBnzANB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k2iEfCwbMyVJjQ/oyqDyqGFr/TVfqNbGV1amManXtECQQDrpRBmW/ZAgiVt +P7UGrOhE8c4bcioMBHmb2tSoajh13UyTmh/igR3IqsTWPurBDm0XTKxj8Hb9qxr9 +QqYsv5FVAkEAyO7jlJImiIV08E5vrOSpIfk7/9Zup+ZyMtF3D0jk22dDhf9PuCUA +nxrwLRd4R1aQ8V6GTKg8jz0VZdV7Wshw9wJAKItCAxqXiAncfquTbg6Z+CLSn45J +BcBPXC2OoVuFU2I8JrlB+yrUAQ7Ax0wUABuHUZbzok5hasvh3Ol2xgQ/8QJBAK/e +eA+IRHXl6c6TuKdplKgJz/xDoaMPzxCvyjf0o2tuXOmh6BLTQFICcAnnqv01xbOd ++oqKDkeJPXteeZOiMU0CQFYD+XIaTkBd+9aCien4gsKX8fNsKB+H2UVZQDoG7Vah +G++Axlf9EXtan01wU3cFrfrukotwA7oEetx8Eh3kmBA= +-----END RSA PRIVATE KEY-----