Skip to content

Instantly share code, notes, and snippets.

View mkontani's full-sized avatar
🏠
Working from home

mkontani mkontani

🏠
Working from home
  • Japan
View GitHub Profile
@mkontani
mkontani / settings.json
Last active September 6, 2020 00:15
Windows Terminal Setting
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",
"profiles": [
{
// Make changes here to the powershell.exe profile
"guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"name": "Windows PowerShell",
@mkontani
mkontani / setup.md
Last active May 8, 2022 18:14
softhsm x crypki (HSM signer) on Mac brew

setup softhsm

install tools

brew install softhsm opensc

softhsm configs

@mkontani
mkontani / process.md
Created June 5, 2021 18:20
pkcs11 x openssl on Mac brew

setup

install libs

# install softhsm as pkcs11 token
ᐅ brew install softhsm

# install opensc for communicating with pkcs11
ᐅ brew install opensc

Keybase proof

I hereby claim:

  • I am mkontani on github.
  • I am mkontani (https://keybase.io/mkontani) on keybase.
  • I have a public key ASAt9rYVANhfSA2b7bwrE82kJnT4MdHxk4DJn1XxL7vPmwo

To claim this, I am signing this object:

@mkontani
mkontani / tlsv1.0.log.md
Last active December 6, 2021 19:45
Use tlsv1.0 on OpenSSL 1.1.1f ( like Ubuntu20)

OpenSSL >= 1.1.1f do not support TLSv1.0, so even if any tools using this library like curl/wget are support TLSv1.0 option, they cannot use TLSv1.0 option.

ᐅ curl --tlsv1 -i https://support-only-tlsv1.0-site
curl: (35) error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol

So you should downgrade support version. (Be careful!! This is much vulnerable, so do not use on sensitive connection.)