본문 바로가기

전체 글338

EJBCA 에서 PKCS11 시 "no such algorithm" 에러 2022-10-26 10:18:14,995+0000 ERROR [org.cesecore.certificates.certificate.CertificateCreateSessionBean] (default task-4) Error creating certificate: org.bouncycastle.operator.OperatorCreationException: cannot create signer: no such algorithm: SHA512WITHRSA for provider SunPKCS11-p11proxy-client.so-slot0 at deployment.ejbca.ear//org.bouncycastle.operator.jcajce.JcaContentSignerBuilder.build(Unkno.. 2022. 10. 27.
RKE2 의 API 서버 접속 방법 (왜 127.0.0.1:6443 인가?) Kubernetes 의 kubelet 은 kube-apiserver 랑 통신한다. 그래서 control plane 노드가 여러개 있으면 Domain 이나 VIP 를 만들어서 Load Balancer 를 통해 살아있는 Control Plane 노드로 연결할 수 있도록 구현해 주어야 한다. 하지만 RKE2 를 Elemental 으로 설치했는데 고민이 생겼다. 이러한 Load Balancer 를 설정할 수 있는 방법이 없었기 때문이다. (RKE2 를 그냥 설치하면 server address 를 설정할 수 있지만 elemental 과 rancher 로 프로비저닝하면 자동으로 지정된다) 그래서 만약 첫번째로 프로비저닝된 control plane 노드가 죽으면, 다른 노드들은 어떻게 통신하지? 라는 물음이었는데, .. 2022. 10. 26.
영어 블로그를 개설했습니다. https://wellsdev.blogspot.com/ Joseph's wells wellsdev.blogspot.com 영어 버전의 블로그 미러를 만들었습니다. 앞으로 몇몇 주제는 영어로도 작성하려고 합니다. (난 영어를 잘 못하니 구글 번역기를! 이상한 문법 있으면 수정 환영ㅠㅠ) 2022. 10. 4.
EJBCA-CE Docker with HSM on Kubernetes ejbca-ee can be integrated with HSM. > https://github.com/Keyfactor/ejbca-containers/blob/master/hsm-integration/hsm-drivers/hsm-driver-softhsm/Containerfile However, registry.primekey.com is not accessible as it is a paid repository. So, I implement it using the open source pkcs11-proxy. See https://gist.github.com/jclab-joseph/973d06db6856a8e5cb851909fbc7268b And https://github.com/jc-lab/hsm-.. 2022. 10. 3.
키보드 서치 # 키보드에 진심인 사람들 (손가락이 아파서..) https://twitter.com/lunamoth/status/1302827399797563392 # 키압 그래프 / 차트 [키보드 그래프] https://www.rtings.com/keyboard/1-0/graph [키보듣 차트] https://thegamingsetup.com/gaming-keyboard/buying-guides/keyboard-switch-chart-table [스위치 그래프] https://chart-studio.plotly.com/~haata#/ ... ... 또 다시 키보드 찾는 중... 사무실에서는 KN01C 30g 을 쓰는데.. 지금까진 이게 제일 낫지만 좀 더 나은걸 찾고 있다. 노트북에서 쓸 키보드를 찾기 위해 LP를 .. 2022. 9. 26.
Node.JS Stream Backpressure 처리에 대해 전에 한번 확인 했던 것 같은데 stream 을 만들어 쓸려니까 또 까먹었다.. 테스트 소스: https://gist.github.com/jclab-joseph/d4258a4f8c2d19c15ccc8dfb27540f16 Readable Stream 에서 push 할 때 그냥 callback 으로 기다리게 하면 좋을려만.. 과정은 이렇다. - this.push 의 return 이 false 이면 내부 버퍼가 다 찬 것이다. (실제 고정 버퍼는 아니고 highWaterMark 사이즈를 넘었다는 것이다. 따라서 다시 push 할 필요는 없다. 버퍼링 된 것이다.) - 버퍼가 비워지면 다시 _read 가 호출된다. 그러면 다시 push 가 가능하다. (this.push 가 false 가 되면, Duplex 또는.. 2022. 9. 15.
반응형