2019-03-01から1ヶ月間の記事一覧

csrをOpenSSLから発行して、そのあとkeystoreが欲しくなった際のやりかた

# openssl pkcs12 -export -in crtファイル -inkey 秘密鍵ファイル -out keystore.pkcs12 -name "hogehoge"で、パスワード"fugafuga"入力 # keytool -importkeystore -srckeystore さっき作成したkeystore.pkcs12 -destkeystore 出力するkeystore -srcstoret…

ASP.NETで<script>とか打ってもアプリ側でvalidateさせる方法

http://kyoujinse.blog83.fc2.com/blog-entry-18.html Web.configに記載する。 <system.web> <pages validateRequest="false" /> <httpRuntime requestValidationMode="2.0" /> ですってよ。</httpruntime></pages></system.web>

ファイルのハッシュ値取得

Windows7, 8.1, 10なら使えるらしい CertUtil -hashfile <ファイル名> SHA512