https://bz.apache.org/bugzilla/show_bug.cgi?id=66670
--- Comment #2 from Michael Osipov <micha...@apache.org> --- (In reply to Christopher Schultz from comment #1) > Why not just use an XML entity? > > <!DOCTYPE Context [ > <!ENTITY certPassword "tiger"> > ]> > ... > ... > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > <SSLHostConfig certificateKeyPassword="&certPassword;" > ...> > > Or, if you really want to use a separate file: > > <!DOCTYPE Context [ > <!ENTITY certPassword SYSTEM "file:///etc/ssl/%%VIRTUAL_HOSTNAME%%/password"> > ]> > > ? I haven't even thought about this. I see some logical problems to it: * From code, this will not work, XML only * Most people don't even know system identifiers or DTDs at all * What will happen if the file contains a line separator? Will it be stripped automatically? WDYT? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org