I want to sign all of the HTML and JavaScript from my site with the site's TLS private key.
(The hex signature will be preceded with a <!--
comment which is valid for both HTML and JavaScript, and attached to the end of the text files.)
This is so that end users can prove that malicious JavaScript came from us, and so gain confidence that we would never do so.
Are there any security problems when using this the same private key for both TLS encryption and application-level signing?