How to integrate a TLS Sockets in Ionic App? - ionic-framework

I am able to connect my ionic app with a NODEJS Server but I want to be able to connect it with a TLS Server with a self-signed certificate.

Related

Deploying PWA server with offline support in intranet

I am developing an application that needs to be delivered as following:
PWA application server(Host app/IIS) is installed in the local network
PWA should support offline
Domain SSL not possible on the server as it's not a domain
Un attended installation
No configuration should be forced on the client machine, to change chrome settings etc.
I have tried:
Running from VS, Only works on same machine by design
Published to IIS and tried, works ok on the same machine. Offline does not work on mobile
Self sign SSL is not helping, Offline does not work
One option I found is to host it on our server on the internet, after installation access data from intranet server. Not yet tried this.
Looks like it is impossible to deploy PWA as intranet application with self-sign SSL. Am I missing something ?
Is there a way to automate deployment of PWA with self-sign that supports offline working?

How to Generate Server Token in Flutter Production Application for Agora

How can I generate an Agora server token for my Flutter application in a production app?
I was following the post from here and managed to run on the local server to generate the server token. However, if I were to make it a production app, I won't be able to use the local server.
How you would go about deploying a server to get server token for a production app?
You can find many resources online on how to deploy a go lang server to a platform of your choice. You can also have a look at this blog from Agora which discusses how to deploy a token server on Heroku with just a single click and integrate it into your Flutter application.

Iphone browser cannot connect to SignalR server

I am trying to connect to a Signalr server that is running on local IIS of my PC. If I use a browser in my PC, I am able to connect and see in my console server that I have successfully connected and the ID is shown. But when I try accessing the site via Iphone, I am able to access the website but in my console signalr server, I can see that my Iphone is not able to connect i.e. the clientId does not show. I don't know which code to show you since the signalr server works with browser in my PC. It is just my iphone that cannot connect. Need your help.

IBM MobileFirst certificate pinning best practices

We are developing an IBM MobileFirst 7.1 Hybrid mobile application, and planning to use the certificate pinning feature.
We can find information on IBM website about the SSL certificate pinning on IBM MobileFirst website : Here is a post in the IBM Knowledge Center and Here is a tutorial and its sample project/code
All these resources are great, but I have some questions :
Are there any advantages to use native certificate pinning implementation for Android and iOS when my application is a hybrid application ?
If I use the hybrid environment code, will the SSL certificate be included in the wlapp, and then can be updated using direct update ?
Does the hybrid implementation of certificate pinning work on WindowsPhone 8 (Hybrid app for Silverlight environment) ?
In the tutorial video, I have seen that when SSL pinning is ON, and we call a URL outside our server (google for example) it will fail. Does this mean google maps will fail loading if I enable certificate pinning ?
What happen when the SSL certificate is revoked ?
What happen when the SSL certificate is expired ?
What is the best SSL renewal strategy to keep certificate pinning working and the application up while updating our server SSL certificate ?
Please advice
Are there any advantages to use native certificate pinning implementation for Android and iOS when my application is a hybrid application ?
You can always write your own code that does the pinning, or use 3rd party Cordova plug-ins. But none of those assure you the level of support you get by using the provided functionality. Note that you are then limited to the functionality provided (for example, certificate pinning by MobileFirst is restricted to a single destination host and not multiple).
If I use the hybrid environment code, will the SSL certificate be included in the wlapp, and then can be updated using direct update ?
You need to have the certificate in both the client and the server. You do not need to use Direct Update to update the certificate on the client.
The way it works is that you need to only update the certificate on the server, but you must maintain the same public key in case you do update it
Does the hybrid implementation of certificate pinning work on WindowsPhone 8 (Hybrid app for Silverlight environment) ?
As mentioned in the documentation, certificate pinning supports only: "native iOS, native Android, and hybrid iOS or hybrid Android"
In the tutorial video, I have seen that when SSL pinning is ON, and we call a URL outside our server (google for example) it will fail. Does this mean google maps will fail loading if I enable certificate pinning ?
The pinning relates only to requests that are bound to the MobileFirst Server and not to other services.
What happen when the SSL certificate is revoked ?
Requests that are bound to the MobileFirst Server will fail.
What happen when the SSL certificate is expired ?
Requests that are bound to the MobileFirst Server will fail.
What is the best SSL renewal strategy to keep certificate pinning working and the application up while updating our server SSL certificate ?
Because you only need to update the certificat eon the server, you only need to make sure to keep using the same public key as before.

Migrate email from generic IMAP server to Google Apps without SSL

We have to migrate a lot of email from an IMAP server to Gmail in Google Apps. Google Apps have a migration tool, but it works only with a server with a valid SSL certificate.
We wouldn't want to do a manual import... someone have a suggestion?
Try using GAMME. It should do SSL w/o a valid cert.