Nytro Posted January 23, 2013 Report Posted January 23, 2013 Network Security with OpenSSLBy Pravir Chandra, Matt Messier, John ViegaPublisher : O'ReillyPub Date : June 2002ISBN : 0-596-00270-XPages : 384OpenSSL is a popular and effective open source version of SSL/TLS, the most widelyused protocol for secure network communications. The only guide available on thesubject, Network Security with OpenSSLdetails the challenges in securing networkcommunications, and shows you how to use OpenSSL tools to best meet thosechallenges. Focused on the practical, this book provides only the information that isnecessary to use OpenSSL safely and effectively.Table of ContentTable of Content......................................................................................................iiDedication .............................................................................................................viPreface....................................................................................................................viiAbout This Book .............................................................................................. viiiConventions Used in This Book........................................................................xComments and Questions ................................................................................xiAcknowledgments..............................................................................................xiChapter 1. Introduction...........................................................................................11.1 Cryptography for the Rest of Us.................................................................11.2 Overview of SSL...........................................................................................81.3 Problems with SSL .....................................................................................101.4 What SSL Doesn't Do Well .......................................................................161.5 OpenSSL Basics.........................................................................................171.6 Securing Third-Party Software .................................................................18Chapter 2. Command-Line Interface..................................................................232.1 The Basics ...................................................................................................232.2 Message Digest Algorithms ......................................................................252.3 Symmetric Ciphers .....................................................................................272.4 Public Key Cryptography...........................................................................282.5 S/MIME.........................................................................................................322.6 Passwords and Passphrases ...................................................................332.7 Seeding the Pseudorandom Number Generator...................................35Chapter 3. Public Key Infrastructure (PKI)........................................................373.1 Certificates...................................................................................................373.2 Obtaining a Certificate ...............................................................................443.3 Setting Up a Certification Authority..........................................................47Chapter 4. Support Infrastructure.......................................................................604.1 Multithread Support....................................................................................604.2 Internal Error Handling...............................................................................664.3 Abstract Input/Output .................................................................................704.4 Random Number Generation ...................................................................804.5 Arbitrary Precision Math ............................................................................854.6 Using Engines.............................................................................................91Chapter 5. SSL/TLS Programming.....................................................................935.1 Programming with SSL..............................................................................935.2 Advanced Programming with SSL.........................................................125Chapter 6. Symmetric Cryptography................................................................1436.1 Concepts in Symmetric Cryptography...................................................1436.2 Encrypting with the EVP API ..................................................................1456.3 General Recommendations ....................................................................161Chapter 7. Hashes and MACs ..........................................................................1627.1 Overview of Hashes and MACs .............................................................1627.2 Hashing with the EVP API.......................................................................1637.3 Using MACs...............................................................................................1687.4 Secure HTTP Cookies.............................................................................179Chapter 8. Public Key Algorithms.....................................................................184iii8.1 When to Use Public Key Cryptography.................................................1848.2 Diffie-Hellman............................................................................................1858.2 Diffie-Hellman............................................................................................1908.3 Digital Signature Algorithm (DSA)..........................................................1958.4 RSA.............................................................................................................2008.5 The EVP Public Key Interface ................................................................2058.6 Encoding and Decoding Objects............................................................213Chapter 9. OpenSSL in Other Languages ......................................................2209.1 Net::SSLeay for Perl ................................................................................2209.2 M2Crypto for Python ................................................................................2259.3 OpenSSL Support in PHP.......................................................................233Chapter 10. Advanced Programming Topics..................................................24110.1 Object Stacks..........................................................................................24110.2 Configuration Files .................................................................................24210.3 X.509 ........................................................................................................24510.4 PKCS#7 and S/MIME............................................................................25910.5 PKCS#12.................................................................................................268Appendix A. Command-Line Reference..........................................................270asn1parse............................................................................................................270ca ........................................................................................................................271ciphers ................................................................................................................277crl .......................................................................................................................277crl2pkcs7 ............................................................................................................279dgst.....................................................................................................................280dhparam..............................................................................................................281dsa ......................................................................................................................282dsaparam ............................................................................................................284enc ......................................................................................................................285errstr ...................................................................................................................287gendsa ................................................................................................................287genrsa .................................................................................................................288nseq ....................................................................................................................289passwd................................................................................................................289pkcs7 ..................................................................................................................290pkcs8 ..................................................................................................................291pkcs12 ................................................................................................................293rand ....................................................................................................................296req ......................................................................................................................296rsa.......................................................................................................................301rsautl...................................................................................................................302s_client ...............................................................................................................304s_server ..............................................................................................................306s_time.................................................................................................................309sess_id ................................................................................................................311smime.................................................................................................................312speed ..................................................................................................................316spkac ..................................................................................................................316verify..................................................................................................................317version................................................................................................................318x509....................................................................................................................319ivColophon ..............................................................................................................326Download:http://directory.umm.ac.id/Networking%20Manual/Network%20Security%20With%20OpenSSL%202002.pdf Quote