is it possible to use TIPCLIENTHTTP:New() with httpS for TLS 1.2
TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Moderator: Rathinagiri
- AUGE_OHR
- Posts: 2117
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
TLS 1.2 / TIPCLIENTHTTP:New() & httpS
hi,
is it possible to use TIPCLIENTHTTP:New() with httpS for TLS 1.2
is it possible to use TIPCLIENTHTTP:New() with httpS for TLS 1.2
have fun
Jimmy
Jimmy
- danielmaximiliano
- Posts: 2763
- Joined: Fri Apr 09, 2010 4:53 pm
- DBs Used: DBF
- Location: Argentina
- Contact:
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
hola jimmy , esto dice la libreria hbtip
el soporte lo da hbssl ,habria que revisar los parametros para enviar que version de tls usar* TIP Class oriented Internet protocol library
*
* Copyright 2003 Giancarlo Niccolai <gian@niccolai.ws>
* Copyright 2015 Jean Lefebvre (STARTTLS support)
mirar en ssl.c
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Try using these dlls: , it should work for 32 bit.
You do not need to specify a specific encryption, the client should negotiate with the server itself.
A host above Windows 7 is required.
Code: Select all
#require "hbtip"
#require "hbssl"
REQUEST __HBEXTERN__HBSSL__- serge_girard
- Posts: 3420
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Edward,
Is there also some libs for 64bits?
Serge
Is there also some libs for 64bits?
Serge
There's nothing you can do that can't be done...
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Serge.
If you built hbssl using the instructions in this post https://hmgforum.com/viewtopic.php?p=71447#p71447 , you don't need any external SSL libraries. When building an application that uses hbssl, the necessary libraries will be included in the executable. See example in attachment.
If you built hbssl using the instructions in this post https://hmgforum.com/viewtopic.php?p=71447#p71447 , you don't need any external SSL libraries. When building an application that uses hbssl, the necessary libraries will be included in the executable. See example in attachment.
- serge_girard
- Posts: 3420
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Edward,
Somehow it always tries to find lssleay32 ..
I surely miss something...!
Serge
Somehow it always tries to find lssleay32 ..
Code: Select all
Harbour 3.2.0dev (r2304211101)
Copyright (c) 1999-2023, https://harbour.github.io/
P:/hmg.3.6/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lssleay32: No such file or directory
P:/hmg.3.6/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -llibeay32: No such file or directory
collect2.exe: error: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe C:/Users/Serge/AppData/Local/Temp/hbmk_44snhb.dir/httspadv.o C:/Users/Serge/AppData/Local/Temp/hbmk_44snhb.dir/hbmk_2mq7xs.o P:/hmg.3.6/DB_GEN_NEW/_temp.o -pthread -static-libgcc -static-libstdc++ -static -lpthread -mconsole -Wl,--start-group -l"hmg-64" -l"crypt-64" -l"edit-64" -l"editex-64" -l"graph-64" -l"ini-64" -l"report-64" -l"hfcl-64" -lmsvfw32 -lvfw32 -lhbmysql -llibmysql -l"hbvpdf-64" -lhbct -lhbwin -lhbmzip -lminizip -lhbmemio -lhbmisc -lhbtip -lsqlite3 -lhbsqlit3 -lsddodbc -lrddsql -lhbodbc -lodbc32 -lhbhpdf -lhbnetio -lxhb -lpng -llibhpdf -lhbzebra -lhbssl -lssleay32 -llibeay32 -lhbextern -lhbdebug -lhbvmmt -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainstd -lwinmm -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -liphlpapi -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib -Wl,--end-group -ohttps_adv_64.exe -LP:/hmg.3.6/harbour64/lib/win/mingw64 -L"P:/hmg.3.6/lib-64"
Serge
There's nothing you can do that can't be done...
Re: TLS 1.2 / TIPCLIENTHTTP:New() & httpS
Check what libraries you have set in config of your project. For the new hbssl 3.0 64-bit you should have
libs=hbssl
libs=libssl-3-x64
libs=libcrypto-3-x64
or there is something wrong with hbssl integration.
I'm uploading my hmg.3.6 integration with OpenSSL 3 and mySQL: https://www.easypaste.org/file/GDwo7dzk ... 7z?lang=en
libs=hbssl
libs=libssl-3-x64
libs=libcrypto-3-x64
or there is something wrong with hbssl integration.
I'm uploading my hmg.3.6 integration with OpenSSL 3 and mySQL: https://www.easypaste.org/file/GDwo7dzk ... 7z?lang=en