~ubuntu-branches/ubuntu/saucy/empathy/saucy-proposed

« back to all changes in this revision

Viewing changes to tests/certificates/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-03-18 11:02:13 UTC
  • mfrom: (1.1.110)
  • Revision ID: package-import@ubuntu.com-20130318110213-mstcnsnw76lfd4hp
Tags: 3.6.4-0ubuntu1
* New upstream release
  + Fixed "Favorite rooms are not saved"
  + re-enable empathy-tls-test

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
EXTRA_DIST = \
2
 
        collabora-ca.cer \
3
 
        dhansak-collabora.cer
 
2
        certificate-authority.cer \
 
3
        server-cert.cer
 
4
 
 
5
# Not part of the build, but so we can easily repeat the process
 
6
# of generating the testing certificates
 
7
rebuild-certs:
 
8
        openssl req -new -x509 -out certificate-authority.pem \
 
9
                -newkey rsa -keyout certificate-authority.key -nodes \
 
10
                -subj /CN=test-ca.empathy.gnome.org -days 2000 \
 
11
                -config cert-openssl.conf -set_serial 1 -extensions test_ca
 
12
        openssl x509 -in certificate-authority.pem -outform DER \
 
13
                -out certificate-authority.cer
 
14
        openssl req -new -outform PEM -out server-cert.req \
 
15
                -newkey rsa -keyout /dev/null -nodes \
 
16
                -subj /CN=test-server.empathy.gnome.org \
 
17
                -config cert-openssl.conf -extensions test_server
 
18
        openssl x509 -req -in server-cert.req -days 2000 \
 
19
                -CA certificate-authority.pem -CAkey certificate-authority.key \
 
20
                -set_serial 888 -out server-cert.cer -outform DER
 
21
        rm certificate-authority.key
 
22
        rm certificate-authority.pem
 
23
        rm server-cert.req
 
 
b'\\ No newline at end of file'