Ionic cordova browser builds ignoring ssl options

I was trying to run my ionic cordova app using an SSL certificate.

I ran

ionic ssl generate

and the ssl key and certificate was generated.
but couldn’t use it in cordova builds. its just ignoring the --ssl thing.

the command i gave was,

ionic cordova run browser --ssl – --cert-path=“path to certificate” --key-path=“path to key”

can anyone find a solution how to run browser builds on https with ssl.