Bypass security warning popups in mobile web browser (Testing mobile web app)

I’m having trouble bypassing security warning certificates when trying to visit my webapp through browser on my android emulator.

I’m using Android Studio’s emulator Nexus 6P device with API 23, marshmallow platform (since android N doesn’t seem to be supported right now). My Appium version is the most recent one for Windows (1.4.16). The device also just shows a basic browser (not firefox, chrome, or IE) unlike with Android N /API 24 which defaults for Chrome.

My capability configurations right now:

@BeforeClass
public void Setup() throws MalformedURLException {

	DesiredCapabilities cap = new DesiredCapabilities();
	cap.setCapability(MobileCapabilityType.DEVICE_NAME, "Android Emulator");
	cap.setCapability(MobileCapabilityType.BROWSER_NAME, "Browser");
	cap.setCapability(MobileCapabilityType.PLATFORM_NAME, "Android"); 
	cap.setCapability(MobileCapabilityType.ACCEPT_SSL_CERTS, true);
	
    driver = new AndroidDriver<WebElement>(new URL(
			"http://127.0.0.1:4723/wd/hub"), cap);
	
}

I would add
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.addArguments(“ignore-certificate-errors”);
cap.setCapability(ChromeOptions.CAPABILITY, chromeOptions);

If there was chrome, which this seems like a popular solution, however I don’t have that option so are there any other suggestions?

Is there a way to fix with capabilities? I though what I did with adding in ACCEPT_SSL_CERTS would work, but it didn’t. If not with capabilities, what are other solutions people used?
Any tips?

Thanks, need to get past this roadblock.

Anyone have ideas???