Mobile Platform and Certificate Based Authorization

Discussions regarding 1C:Enterprise for mobile devices with Android, iOS, or Windows Phone.

#1
People who like this:0Yes/0No
Interested
Rating: 27
Joined: Apr 5, 2012
Company: 1TÇ Şirketi - Merv Bilgi İşlem Otomasyonu Yazılım Ltd. Şti.

Hi,

In mobil platform is there way to connect to web service by CBA method? By analyzing syntaxt assistant realized that in mobile application we can connect to https protocol only by client certificate file.

Needed certs are installed to mobile device. So is there way to force user to choose needed client certificate? Or in mobile plaftform connection to ssl service may be only by providing certificate files (*.PFX; *.P12;*.PEM formats) for client certificate and server certificate?

 
#2
People who like this:0Yes/0No
Administrator
Rating: 0
Joined: Oct 3, 2019
Company:

Hi Murat,

Could you provide more details about what exactly you are trying to implement?

For Android platform you can install certificate using the following code:

Code
...

newIntent = new MobileDeviceApplicationRun();
If newIntent.RunningSupported() Then
newIntent.Action = TrimAll("android.credentials.INSTALL");
Message(newIntent.Run(True));
Message("OK");
Else
Message("Not supported!");
EndIf;

...

 
Subscribe
Be the first to know tips & trick on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.