TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

TLS Web Tool: Generate Key and CSR

1 pointsby mikethemanover 7 years ago

1 comment

jeplerover 7 years ago
Doesn&#x27;t properly quote shell metacharacters. but at least it is a website for generating an &#x27;openssl req&#x27; command, not a site which generates key&#x2F;csr files!<p>Edited to add: The best way to quote shell characters for any POSIX shell is to:<p>- optionally, if all characters in the string are in a whitelist of shell safe characters (ASCII letters, digits, dot, underscore, hyphen, maybe a few others), pass it through as is. Otherwise,<p>- Replace each single-quote character (&#x27;) with the sequence &#x27;\&#x27;&#x27;, and then surround the string with single quotes<p>I learned this from the git community.
评论 #16364623 未加载