[轉]如何使用 OpenSSL 建立開發測試用途的自簽憑證 (Self-Signed Certificate)

https://blog.miniasp.com/post/2019/02/25/Creating-Self-signed-Certificate-using-OpenSSL 目前這個方式比較靠普 建立 ssl.conf 設定檔 [req] prompt = no default_md = sha256 default_bits = 2048 distinguished_name = dn x509_extensions = v3_req [dn] C = TW ST = Taiwan L = Taipei O = Duotify Inc. OU = IT Department emailAddress = admin@example.com CN = localhost [v3_req] subjectAltName = @alt_names [alt_names] DNS.1 = *.localhost DNS.2 = localhost DNS.3 = 192.168.2.100 openssl req -x509 -new -nodes -sha256 -utf8 -days 3650 -newkey rsa:2048 -keyout server.key -out server.crt -config ssl.conf

2019-08-06 · 1 min · 76 words · Me

oauth2 nodejs vue

https://www.ory.sh/docs/hydra/integration#interacting-with-oauth-20 https://github.com/lelylan/simple-oauth2 https://www.jianshu.com/p/5cf2b7a45b75

2019-08-05 · 1 min · 3 words · Me

windows iso

http://windowsiso.net/

2019-08-02 · 1 min · word · Me

vue 3 image assets

Vue template Code src/ooxx/ooxx/xx.vue assets File location:assets/img/tt.png OK Code: img src=’@/assets/img/tt.png' Become: img src="/img/tt.f3b936ef.png" Failed Code: img src=’@/img/nchcbclab.png' img src=‘assets/img/tt.png’ img src=’./assets/img/tt.png’ img src=’../assets/img/tt.png’ img src=“require(‘assets/img/tt.png’) " img src=“require(’./assets/img/tt.png’) " img src=“require(’../assets/img/tt.png’) " public File location:public/img/tt.png OK Code: img src= ‘/img/nchcbclab.png’ Become: img src= ‘/img/nchcbclab.png’ Failed Code: img src= ‘img/nchcbclab.png’ img src= ‘public/img/nchcbclab.png’ img src=’/public/img/nchcbclab.png’

2019-08-02 · 1 min · 55 words · Me

vue 3 index.html

old vue index.html just copy to public directory. If public don’t have index.hmtl, be craeted by run “npm run serve”. But public don’t have index.html. Only “npm run build” create index.html in dist driectory. More easy understand way: You delete all project index.html. This time still can run “npm run serve”. Watch Website source code Vue App Then put your custome into public directory then Custome App ooxxooxx

2019-08-02 · 1 min · 68 words · Me