Problem with the initialization


#1

Hello,
I have a Q2687 and can’t initialize the SSL-Secure-Plugin (with init_wipSsl ()).
The code with all constants was taken from the example.

Example:

int init_wipSsl( void)
{
	return wip_SSLInitOpts( WIP_COPT_CERT_AUTHORITY, CA_CERTIFICATE,
					WIP_COPT_CERT,           MY_CERTIFICATE,
					WIP_COPT_PRIVATE_KEY,    MY_PRIVATE_KEY,
					WIP_COPT_VERIFY,         WIP_SSL_ALWAYS,
					//WIP_COPT_KEY,            WIP_SSL_ALL,
					WIP_COPT_AUTHENTICATION, WIP_SSL_RSA,
					WIP_COPT_ENCRYPTION,     WIP_SSL_3DES,
					//WIP_COPT_VERSION,        WIP_SSL_ALL,				   
					WIP_COPT_END); //<- return “..not active”
	//or
	//return wip_SSLInit();  //<- return “..not active”
}  

void adl_main ( adl_InitType_e InitType )
{
	int ret;
	char ReturnBuffer[50];
	
	ret = init_wipSsl();

	if(ret == 0)
	{
		adl_atSendResponse ( ADL_AT_UNS, "SSL feature is actived!\r\n" ); 
	}
	else
	{
		adl_atSendResponse ( ADL_AT_UNS, "SSL feature not active\r\n" );  
		sprintf(ReturnBuffer,"Code: %i \r\n",ret);
		adl_atSendResponse ( ADL_AT_UNS, ReturnBuffer);  
	}
 }

Response:
SSL feature not active
Code: -2

I use the newest Firmware and Open AT Suite:
Firmware: R72_00 (R72_00-cus-q26-01.wpk)
OS: 6.10.05
WIP Plugin: 5.00.2050
Security Plugin: 1.01.2010

The program was also tested on a WMP100 and delivered the same message (SSL feature not active). What could be the problem? :confused:


#2

Are you sure that the Commercial feature for Security is enable ?

Regards,

Christophe