Description of problem:
When you access the console for the first time using https: it will prompt you to accept the certificates. If you have a smallish window say 1024x768 the certificate prompting form will stretch over the whole screen and you can see any buttons to press. With a very basic window manager you are then stuck because you can't move the window to click yes/accept on the form
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Would like to see a form that takes the current screen's dimensions into account.
I think you can work around this by installing the CA cert in ~/.389-console:
certutil -d ~/.389-console -A -t CT,, -n "my ca cert" -a -i /path/to/cacert.asc
Thanks, I have been doing that until now. I also tried to change the saved values in .389-console directory for the x and y location of the window but that just got ignored. I had a slightly different problem with a remote vncserver session where the 389console appeared out of the window region or just on the edge making it difficult to bring it into the center.
I mention it here because it is also a windowing problem.
Created attachment 479987 [details]
The JTextArea that we use in the dialog that prompts for certificate trust is unable to determine it's proper preferred size since it is created with no rows and no columns. This requires us to call pack() twice before it can get it's proper preferred size. This is detailed in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4446522.
Checked into console (HEAD). Thanks to Noriko for her review!
Checking in src/com/netscape/management/client/security/PromptForTrustDialog.java;
/cvs/dirsec/console/src/com/netscape/management/client/security/PromptForTrustDialog.java,v <-- PromptForTrustDialog.java
new revision: 1.2; previous revision: 1.1
Checked in latest release, did not face this issue.
Hence marking as VERIFIED.