FireFox on Android - handling untrusted connection

As we use mobile browser testing through appium, do we have any support to handle untrusted certificates in appium like selenium(setAcceptUntrustedCertificates), if yes please suggest me how to do that?