skip to main content
10.1145/1111348.1111358acmotherconferencesArticle/Chapter ViewAbstractPublication PagesccsConference Proceedingsconference-collections
Article

Secure and flexible certificate access in WS-security through LDAP component matching

Published: 29 October 2004 Publication History

Abstract

As an integral part of the Web Services Security (WS-Security), directory services are used to store and access X.509 certificates. Lightweight Directory Access Protocol (LDAP) is the predominant directory access protocol for the Internet, and hence for the Web services. Values of LDAP attribute and assertion value syntaxes, though defined using ASN.1, are encoded in simple octet string formats which generally do not preserve the complete structure of the abstract values. As a result, LDAP matching rules for certificates need to be provided in a certificate-syntax specific way, while X.500 matching rules can be constructed from structured ASN.1 syntax definition. Moreover, LDAP has traditionally lacked the capability to make assertions against components of values of complex syntaxes such as X.509 certificates. The WS-Security needs to be able to locate a target X.509 certificate by matching against arbitrary certificate components in its security token references. Therefore, WS-Security requires the directory server to be prepared with all the possible matching functions for maximum flexibility. This is very cumbersome due to the lack of ASN.1 awareness in LDAP server implementations. This led to development of remedies such as the recently proposed Certificate Parsing Server (XPS). XPS extracts relevant components of the certificate and stores them in separate and searchable attributes. Due to the significant downside of these remedies, we decided to seek after an ASN.1 based Component Matching alternative in an attempt to make an LDAP directory server ASN.1 aware. With Component Matching and ASN.1 awareness, LDAP can provide WS-Security with various matching rules flexibly. In this paper, we describe our implementation of the Component Matching and ASN.1 awareness in OpenLDAP Software. This paper will also describe the use of the Component Matching technology in various security components of Web Services, especially in the context of WS-Security and XKMS. The experimental results show that flexible and secure certificate access can be accomplished without sacrificing performance and manageability.

References

[1]
D. Box and D. Ehne. Simple object access protocol (SOAP). W3C Note, May 2000.
[2]
D. W. Chadwick. Deficiencies in LDAP when used to support PKI. Comm. of the ACM, 46(3), March 2003.
[3]
D. W. Chadwick, E. Ball, and M. Sahalayev. Modifying LDAP to support x.509-based PKIs. In 17th Annual IFIP WG 11.3 Working Conference on Database and Applications Security, August 2003.
[4]
W. Ford and D. Solo. Internet x.509 public key infrastructure certificate and certificate revocation list (CRL) profile. RFC 3280, 2002.
[5]
J. Hodges, R. Morgan, and M. Wahl. Lightweight directory access protocol (v3): Technical specification. RFC 3377, September 2002.
[6]
R. Housley, W. Ford, W. Polk, and D. Solo. Internet X.509 public key infrastructure certificate and CRL profile. RFC 2459, January 1999.
[7]
ITU-T Rec. X.511, The directory: Abstract service definition, 1993.
[8]
ITU-T Rec. X.690, ASN.1 encoding rules: Specification of basic encoding rules (BER), canonical encoding rules (CER), and distinguished encoding rules (DER), 1994.
[9]
ITU-T Rec. X.680, Abstract syntax notation one (ASN.1): Specification of basic notation, December 1997.
[10]
ITU-T Rec. X.509, The directory: Public-key and attribute certificate frameworks, March 2000.
[11]
ITU-T Rec. X.500, The directory: Overview of concepts, models and service, February 2001.
[12]
R. Joop. Snacc 1.2rj. http://www.fokus.gmd.de/ovma/freeware/snacc/entry.html.
[13]
A. Krennmair and R. Lischka. Testing OpenLDAP server, March 2004.
[14]
S. Legg. Generic string encoding rules. RFC 3641, October 2003.
[15]
S. Legg. X.500 and LDAP component matching rules. RFC 3687, February 2004.
[16]
M. Myers, R. Ankney, A. Malpani, and C. Adams. Internet X.509 public key infrastructure online certificate status protocol - OCSP. RFC 2560, June 1999.
[17]
OASIS. Web services security: SOAP message security 1.0 (WS-Security 2004). OASIS Standard 200401, March 2004.
[18]
OASIS. Web services security: X.509 certificate token profile. OASIS Standard 200401, January 2004.
[19]
The Unicode Consortium. The Unicode Standard, Version 4.0. Addison- Wesley, Boston, 2003.
[20]
W3C. XML key management specification (XKMS). W3C Standard, March 2001.
[21]
W3C. XML - signature syntax and processing. W3C Standard, February 2002.
[22]
F. Yergeau. UTF-8, a transformation format of ISO 10646. RFC 3629, November 2003.

Cited By

View all
  • (2008)Design, implementation, and performance analysis of PKI certificate repository using LDAP Component MatchingSoftware—Practice & Experience10.5555/1386343.138634638:8(827-851)Online publication date: 1-Jul-2008
  • (2007)Design, implementation, and performance analysis of PKI certificate repository using LDAP Component MatchingSoftware: Practice and Experience10.1002/spe.85438:8(827-851)Online publication date: 23-Nov-2007

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
SWS '04: Proceedings of the 2004 workshop on Secure web service
October 2004
109 pages
ISBN:158113973X
DOI:10.1145/1111348
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 29 October 2004

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. LDAP
  2. PKI
  3. X.509 certificate
  4. certificate repository
  5. component matching

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 01 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2008)Design, implementation, and performance analysis of PKI certificate repository using LDAP Component MatchingSoftware—Practice & Experience10.5555/1386343.138634638:8(827-851)Online publication date: 1-Jul-2008
  • (2007)Design, implementation, and performance analysis of PKI certificate repository using LDAP Component MatchingSoftware: Practice and Experience10.1002/spe.85438:8(827-851)Online publication date: 23-Nov-2007

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media