FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour MySql y Conexiones seguras con SSL
Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
MySql y Conexiones seguras con SSL
Posted: Fri Aug 30, 2013 11:32 PM
Saludos,

Alguien por aqui ha trabajado con Certificados SSL desde Harbour para acceder a bases de datos MySql
Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/
Posts: 410
Joined: Sun Jan 31, 2010 03:30 PM
Re: MySql y Conexiones seguras con SSL
Posted: Sat Aug 31, 2013 01:03 PM

Con eagle1... lo hago así :

 Crea_Temporal_SSl(cCaPem+"\",@cKey,@cCert,@cCa)

 cKey  := cCaPem+"\"+cKey
 cCert := cCaPem+"\"+cCert
 cCa   := cCaPem+"\"+cCa

TRY
   M->oServe1 := TMSConnect():New()
   M->oServe1:SetAutoError( .F. ) // Sin gestion automatica de los errores
  M->oServe1:SetSSL( cKey, cCert, cCa, cCaPem, nil)
  lRet := M->oServe1:Connect( M->cSerAct, M->cUsrAct, M->cPasAct, M->cDatBa1 , M->nNroPto  )

.....

Seria ver el equivalente con otra librería-

Russoft Ltda

Posts: 401
Joined: Thu Oct 06, 2005 10:15 PM
Re: MySql y Conexiones seguras con SSL ( Resuelto )
Posted: Sat Aug 31, 2013 01:46 PM

Russoft,

Gracias por tu repuesta,

Hable con Daniel Garcia-Gil y ya implemento el soporte ssl para la tDolphin.

Gracias Daniel...

Saludos,



Pablo Alberto Vidal

/*

------------------------------------------------------

Harbour 3.2.0, Fivewin 17.02, BCC7

------------------------------------------------------

*/

Continue the discussion