!common.mak
makefile.bc
!changed to compile tipssl
set the HB_DIR_OPENSSL envar to openssl install directory
! Changelog
! Renamed to ChangeLog.029 and started an new One
+ contrib/tipssl/client.prg
+ contrib/tipssl/httpcln.prg
+ contrib/tipssl/mail.prg
+ contrib/tipssl/popcln.prg
+ contrib/tipssl/sendmail.prg
+ contrib/tipssl/smtpcln.prg
+ contrib/tipssl/inetssl.c
+ contrib/tipssl/inetssl.h
* Added Code to support ssl connection for http/smtp/pop3
+ contrib/tipssl/Makefile
+ contrib/tipssl/test.prg
* sample to desmostrate on how to use gmail ans yahoo server
For windows, you need to install open ssl
just install
http://www.slproweb.com/download/Win32OpenSSL-0_9_8k.exe and
http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF
To get certificates from an site is easy
once openssl is instaled ( in my machine i've added v:\openssl\bin to my
path envar do )
openssl s_client -connect -showcerts
for example
to get yahoo pop3 certificate
openssl s_client pop.mail.yahoo.com:995 -showcerts >2 2>&1 (to terminate
prest CTRL+C
open the 2 file
copy all content between -----BEGIN CERTIFICATE-----/-----END
CERTIFICATE----- inclusive
this lines to one file ( if more then one occurence, create an file to
each one
save each file in openssl\bin\certs with .pem extension. in linux save
the files to /etc/ssl/certs
open an dos shell
under windows do
go top openssl\bin\certs
run openssl" x509 -hash -fingerprint -noout -in fileyousaved.pem
copy fileyousave.pem to hash returned on command above
example
if you save the file as gmail.pem do
V:\OpenSSL\bin\PEM>..\openssl x509 -hash -fingerprint -noout -in
gmail.pem
7f549ca4 <<---- NOTE this number
SHA1
Fingerprint=51:21:45:CE:CE:99:19:87:7D:CE:3F:52:C0:31:0F:7E:FB:B4:6A:6F
then copy gmail.pem to 7f549ca4.0
under linux
execute the c_rehash command
Regards
Luiz
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers