Love Hörnquist Åstrand
8424dc4081
Issue a long living cert.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:10:52 +00:00
Love Hörnquist Åstrand
760f9d2de4
add --lifetime to ca command.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:10:00 +00:00
Love Hörnquist Åstrand
7cabe3475e
allow setting notBefore and notAfter.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:08:56 +00:00
Love Hörnquist Åstrand
e1cdaad627
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:10:37 +00:00
Love Hörnquist Åstrand
3a3aa6762c
Test generation of proxy certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:08:25 +00:00
Love Hörnquist Åstrand
99f8bea461
Allow generation of proxy certificates, always include
...
BasicConstraints, fix error codes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:07:46 +00:00
Love Hörnquist Åstrand
6a8868770e
Allow generation of proxy certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:07:00 +00:00
Love Hörnquist Åstrand
93abfd3634
add new error, PARSING_NAME_FAILED
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:05:39 +00:00
Love Hörnquist Åstrand
87b7533d02
make hx509_parse_name take a hx509_context.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:04:54 +00:00
Love Hörnquist Åstrand
2dcbc1ab7e
Split building RDN to a separate function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:04:11 +00:00
Love Hörnquist Åstrand
e86331e9a1
clean test_ca files.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 21:48:34 +00:00
Love Hörnquist Åstrand
64242b5769
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:52:37 +00:00
Love Hörnquist Åstrand
977e13f429
test issuing self-signed and CA certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:52:08 +00:00
Love Hörnquist Åstrand
623c3467da
Add bits to allow issuing self-signed and CA certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:50:39 +00:00
Love Hörnquist Åstrand
eaaff166a5
Add bits to allow issuing CA certificates.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:49:35 +00:00
Love Hörnquist Åstrand
086e7f3847
use new OCSPSigning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:09:06 +00:00
Love Hörnquist Åstrand
2719a5f038
Add Subject Key Identifier.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 16:10:19 +00:00
Love Hörnquist Åstrand
0c6f8e6994
Add Add Authority Key Identifier.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:58:13 +00:00
Love Hörnquist Åstrand
3f121e484c
Locally export _hx509_find_extension_subject_key_id.
...
Handle AuthorityKeyIdentifier where only authorityCertSerialNumber and
authorityCertSerialNumber is set.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:57:14 +00:00
Love Hörnquist Åstrand
308325a11b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:03:26 +00:00
Love Hörnquist Åstrand
2ad9f89060
Add dnsname and rfc822 SANs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:03:10 +00:00
Love Hörnquist Åstrand
fd6fbe0d68
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:01:42 +00:00
Love Hörnquist Åstrand
eedb76b8d6
Test dnsname and rfc822 SANs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:01:24 +00:00
Love Hörnquist Åstrand
7ddee6b712
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:00:18 +00:00
Love Hörnquist Åstrand
d09a750407
test adding eku, ku and san to the certificate (https and pk-init)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:50:24 +00:00
Love Hörnquist Åstrand
993dacac92
Add eku, ku and san to the certificate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:49:37 +00:00
Love Hörnquist Åstrand
b5c3feb43f
Add --type and --pk-init-principal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:45:49 +00:00
Love Hörnquist Åstrand
c29c97518f
remove id-kp-OCSPSigning, its in rfc2459.asn1 now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 12:40:43 +00:00
Love Hörnquist Åstrand
6171869c5c
add error handling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:39:48 +00:00
Love Hörnquist Åstrand
79c50d6b5b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:23 +00:00
Love Hörnquist Åstrand
1ae085e4ce
Add KeyUsage extension.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:05 +00:00
Love Hörnquist Åstrand
af6606bbb7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:55:03 +00:00
Love Hörnquist Åstrand
5342f14d52
Add sign-certificate tests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:54:20 +00:00
Love Hörnquist Åstrand
1c95c59dab
Add _hx509_create_signature_bitstring.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:53:42 +00:00
Love Hörnquist Åstrand
694955c3a8
Add the sign-certificate tool.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:52:35 +00:00
Love Hörnquist Åstrand
e0462bfd82
Add HX509_QUERY_OPTION_KU_KEYCERTSIGN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:51:22 +00:00
Love Hörnquist Åstrand
23b2e5ae89
Add hx509_ca_tbs and HX509_QUERY_OPTION_KU_KEYCERTSIGN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:50:05 +00:00
Love Hörnquist Åstrand
01553c6d54
Basic test of generating a pkcs10 request, signing it and verifying the chain.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:49:05 +00:00
Love Hörnquist Åstrand
935e09fac5
Naive certificate signer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:48:09 +00:00
Love Hörnquist Åstrand
dce9cb1dd3
add hex
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:30:30 +00:00
Love Hörnquist Åstrand
f3d6a71320
add hxtool_hex
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:29:27 +00:00
Love Hörnquist Åstrand
6250ffe2b8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:55 +00:00
Love Hörnquist Åstrand
7d3572d5f0
use top_builddir for libasn1.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:23 +00:00
Love Hörnquist Åstrand
b25a73eff1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:13:26 +00:00
Love Hörnquist Åstrand
ebcbf5f119
(print_certificate): print serial number.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:13:10 +00:00
Love Hörnquist Åstrand
b15afd6054
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:08:07 +00:00
Love Hörnquist Åstrand
05a31a062b
(no): add S=stateOrProvinceName
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 19:03:44 +00:00
Love Hörnquist Åstrand
59238c7f99
Remember to p11_put_session in the failure cases too.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:42:42 +00:00
Love Hörnquist Åstrand
7a0fadc477
(_hx509_private_key_assign_rsa): set a default sig alg
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:56:34 +00:00
Love Hörnquist Åstrand
fa270376d8
Pass in hx509_signature_rsa to key collector
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:18:09 +00:00