Commit Graph

16598 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
d7bc1efbc8 (_kdc_pk_check_client): Use hx509_cert_get_base_subject to get subject
name of the certificate, needed for proxy certificates.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:36:22 +00:00
Love Hörnquist Åstrand
c7b6f93485 When verifying certificates, store subject basename for later consumption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:33:55 +00:00
Love Hörnquist Åstrand
4035c1117d regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:18:11 +00:00
Love Hörnquist Åstrand
dcbc344ca5 Add test_name to regression tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:17:33 +00:00
Love Hörnquist Åstrand
3a3a774e1e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:52 +00:00
Love Hörnquist Åstrand
0117efb5aa test to parse and print name and check that they are the same.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:44 +00:00
Love Hörnquist Åstrand
d9f7944c9b (hx509_parse_name): fix length argument to printf string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:15:57 +00:00
Love Hörnquist Åstrand
fe9bb14be8 (hx509_parse_name): fix length argument to stringtooid, 1 too short.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:12:36 +00:00
Love Hörnquist Åstrand
70552d3ed2 remove debug printf's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:59:52 +00:00
Love Hörnquist Åstrand
e944135b02 (hx509_parse_name): make compile pre c99
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:56:26 +00:00
Love Hörnquist Åstrand
b55c0fbc9c OpenSSL have a serious issue of user confusion -subj in -ca takes the
arguments in LDAP order. -subj for x509 takes it in x509 order.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:49:23 +00:00
Love Hörnquist Åstrand
b1139e02d0 (hx509_verify_path): handle the case where the where two proxy certs
in a chain.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:47:45 +00:00
Love Hörnquist Åstrand
5cf4bf36f0 enable two proxy certificates in a chain test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:45:01 +00:00
Love Hörnquist Åstrand
d7839a8c50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:17:18 +00:00
Love Hörnquist Åstrand
05e08f62a6 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:38 +00:00
Love Hörnquist Åstrand
c76ab3bc40 build proxy certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:01 +00:00
Love Hörnquist Åstrand
d1b6d05cdc add def for proxy10_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:33 +00:00
Love Hörnquist Åstrand
dfe29472cd add more certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:12 +00:00
Love Hörnquist Åstrand
dfd46eaeaa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:46:22 +00:00
Love Hörnquist Åstrand
ce731322d7 Add another proxy certificate error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:45:48 +00:00
Love Hörnquist Åstrand
f591c22c1f Now that find_keys speaks for it self, remove extra logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:27:25 +00:00
Love Hörnquist Åstrand
f9d85a2590 (find_keys): add client_name and server_name argument and use them,
and adapt callers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:22:57 +00:00
Love Hörnquist Åstrand
0c3cff7fec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:03:02 +00:00
Love Hörnquist Åstrand
56b18c1385 (hx509_verify_path): Need to mangle name to remove the CN of the
subject, copying issuer only works for one level but is better then
doing no checking at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:02:48 +00:00
Love Hörnquist Åstrand
05557b9ae9 Add verify --allow-proxy-certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:43:14 +00:00
Love Hörnquist Åstrand
5a3e4a1865 add verify --allow-proxy-certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:42:45 +00:00
Love Hörnquist Åstrand
d82349fba1 Add proxy certificate errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:41:14 +00:00
Love Hörnquist Åstrand
db9e1df818 Fix comment about subject name of proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:49:27 +00:00
Love Hörnquist Åstrand
cf3c9e7986 Make proxy certificate work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:35:20 +00:00
Love Hörnquist Åstrand
e9a7ef8057 tests for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:32:17 +00:00
Love Hörnquist Åstrand
104b2bda39 gen proxy and non-proxy tests certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:58 +00:00
Love Hörnquist Åstrand
a52db0479d Add definition for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:26 +00:00
Love Hörnquist Åstrand
0c10f202f4 proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:30:50 +00:00
Love Hörnquist Åstrand
1b98d3a6ff (hx509_verify_path): verify proxy certificate have no san or ian
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:36:49 +00:00
Love Hörnquist Åstrand
253352539c (hx509_verify_set_proxy_certificate): Add
(*): rename policy cert to proxy cert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:21:20 +00:00
Love Hörnquist Åstrand
3d4b238a8b Initial support for policy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:05:10 +00:00
Love Hörnquist Åstrand
a487250048 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:03:10 +00:00
Love Hörnquist Åstrand
e03eee6809 Add definitions from RFC 3820, Proxy Certificate Profile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:02:56 +00:00
Love Hörnquist Åstrand
9176358a8f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:13 +00:00
Love Hörnquist Åstrand
43c959fd1d document option password-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Love Hörnquist Åstrand
594b3f5d86 Add option password-file, read password from the first line of a file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:21:23 +00:00
Love Hörnquist Åstrand
a2380d5c14 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:20:55 +00:00
Love Hörnquist Åstrand
9632fbb0b3 ignore Makefile.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:17:49 +00:00
Love Hörnquist Åstrand
64f262a5d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:15:55 +00:00
Love Hörnquist Åstrand
0571f5c745 Try to detect another KDC running.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:15:41 +00:00
Love Hörnquist Åstrand
30503ce62c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:11:50 +00:00
Love Hörnquist Åstrand
fc2dc04d5c more tests regarding doing AS-REQ and TGS-REQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 14:23:58 +00:00
Love Hörnquist Åstrand
31617a6385 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 13:04:36 +00:00
Love Hörnquist Åstrand
3586978011 krb5.conf template
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 13:04:15 +00:00
Love Hörnquist Åstrand
d9e41b6d6b make tests/kdc/Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:51:23 +00:00