Hi,
You can use a Java.Robot to interact with this certificate window.
Or, on IE, there is an option to automatically select the certificate if there is only one.
Edit : Depending on the type of certificate, you may also need to open the browser with a particular profile