Commit Graph
100 Commits
Author SHA1 Message Date
Fang-Pen Lin aa9c125124 Merge pull request #4967 from Infisical/PKI-49-check-template-for-external-ca-with-acme
improvement(api): check template for external ca with acme
2025-12-03 10:56:31 -08:00
Fang-Pen Lin d7e9f93165 Fix rebase syntax error 2025-12-02 20:10:55 -08:00
Fang-Pen Lin 5a70d96464 More test cases 2025-12-02 20:10:54 -08:00
Fang-Pen Lin ad4dbcb1ed Fix test cases 2025-12-02 20:10:53 -08:00
Fang-Pen Lin acefc75a35 Also check algorithm 2025-12-02 20:10:52 -08:00
Fang-Pen Lin 222707a5e3 Add tons of test cases 2025-12-02 20:10:51 -08:00
Fang-Pen Lin eb43a88fb9 Names 2025-12-02 20:10:50 -08:00
Fang-Pen Lin f837f75d5e Add tests for external CA template check with dns names 2025-12-02 20:10:49 -08:00
Fang-Pen Lin 11ccfb6da2 Implement template check for external ca
# Conflicts:
#	backend/src/ee/services/pki-acme/pki-acme-service.ts
#	backend/src/server/routes/index.ts
2025-12-02 20:10:48 -08:00
Fang-Pen Lin 3f9f53cebb Merge pull request #4975 from Infisical/PKI-38-better-http-01-challenge
improvement(api): perform http01-challenge in the background with retries
2025-12-02 11:48:54 -08:00
Fang-Pen Lin a804d0101b Fix a typo 2025-12-02 09:57:58 -08:00
Fang-Pen Lin 91b916c9ad Fix broken tests 2025-12-01 21:38:05 -08:00
Fang-Pen Lin a688389599 Fix broken tests 2025-12-01 20:50:05 -08:00
Fang-Pen Lin 74cdfe97da Fix grammar 2025-12-01 19:10:16 -08:00
Fang-Pen Lin d28bd1e4ec Add test for retry logic 2025-12-01 19:06:31 -08:00
Fang-Pen Lin 27d027519b More efficient challenge waiting 2025-12-01 18:51:48 -08:00
Fang-Pen Lin a2774bd18e Add log 2025-12-01 18:02:39 -08:00
Fang-Pen Lin 64633b0abc Fix wrong timeout uit 2025-12-01 17:46:24 -08:00
Fang-Pen Lin 3cb3bd3d21 conn reset 2025-12-01 17:34:34 -08:00
Fang-Pen Lin 2fec9c3ee6 Fix return type 2025-12-01 17:25:52 -08:00
Fang-Pen Lin 33dd0ea5de Fix typo 2025-12-01 15:10:42 -08:00
Fang-Pen Lin da7cc1e406 Add queue 2025-12-01 15:09:48 -08:00
Fang-Pen Lin 17f1922041 Add mark as ready 2025-12-01 14:14:17 -08:00
Fang-Pen Lin f9962282ef Update doc for DNS made easy in the acme ca page 2025-11-25 12:55:49 -08:00
Fang-Pen Lin b9b97690d3 Add DNS made easy doc 2025-11-25 12:40:17 -08:00
Fang-Pen Lin 4aa945f0a5 Merge pull request #4912 from Infisical/PKI-58-add-dns-made-easy-for-external-ca-acme
[PKI-58] Add dns made easy for external ca acme
2025-11-25 11:39:59 -08:00
Fang-Pen Lin aca7facaeb Fix DNS record not deleted bug 2025-11-25 09:37:26 -08:00
Fang-Pen Lin c25573d364 Throw error for listing 2025-11-25 09:06:59 -08:00
Fang-Pen Lin 928aa07efa Throw bad req error instead 2025-11-25 08:57:29 -08:00
Fang-Pen Lin 9266dd1060 Extract getAcmeChallengeRecord 2025-11-25 08:54:37 -08:00
Fang-Pen Lin 4776de1ba7 Fix CN missing issue for external CA 2025-11-25 08:54:36 -08:00
Fang-Pen Lin 606a5848f2 Add external ca cases for absent CN 2025-11-25 08:54:35 -08:00
Fang-Pen Lin 13022adc5e Try to see if we can avoid timestamp issue 2025-11-25 08:54:34 -08:00
Fang-Pen Lin f7f8fd2595 Fix path mock 2025-11-25 08:54:33 -08:00
Fang-Pen Lin 46ca9f0ff4 Try to fix query 2025-11-25 08:54:33 -08:00
Fang-Pen Lin f2cc6588c3 Log, add query for nock 2025-11-25 08:54:32 -08:00
Fang-Pen Lin 435ef4c5dc Better logs 2025-11-25 08:54:31 -08:00
Fang-Pen Lin b553edc800 Fix records query 2025-11-25 08:54:30 -08:00
Fang-Pen Lin 81aa1b1a38 Add listDNSMadeEasyRecords 2025-11-25 08:54:29 -08:00
Fang-Pen Lin 5badff8350 Create with api-key-secret instead 2025-11-25 08:54:28 -08:00
Fang-Pen Lin a5554c02d5 Add dns made easy test 2025-11-25 08:54:27 -08:00
Fang-Pen Lin 9ba677ff2b Add missing dns made easy stuff 2025-11-25 08:54:26 -08:00
Fang-Pen Lin 4722f1f1f3 Import order 2025-11-25 08:54:25 -08:00
Fang-Pen Lin 6b4d5c95f3 Add DNS made easy for PKI type 2025-11-25 08:54:24 -08:00
Fang-Pen Lin 8c59579e1e Fix wrong record name for dnsme 2025-11-25 08:54:23 -08:00
Fang-Pen Lin acca6f2323 export 2025-11-25 08:54:22 -08:00
Fang-Pen Lin 08d9c47485 Add options 2025-11-25 08:54:21 -08:00
Fang-Pen Lin 5aa5257073 Ignore duplicate error 2025-11-25 08:54:20 -08:00
Fang-Pen Lin b4e16fa1f4 Fix insert and del 2025-11-25 08:54:19 -08:00
Fang-Pen Lin 924d029889 Implement listing zone 2025-11-25 08:54:18 -08:00
Fang-Pen Lin d72c63667e Add more missing stuff 2025-11-25 08:54:17 -08:00
Fang-Pen Lin 551e9b4476 Add DNS made easy stuff 2025-11-25 08:54:16 -08:00
Fang-Pen Lin dd0b0e4633 No need to use https agent 2025-11-25 08:54:15 -08:00
Fang-Pen Lin 0d721686e6 Add sandbox switch for dns made easy 2025-11-25 08:54:14 -08:00
Fang-Pen Lin b187cb9494 Add dns made easy UI 2025-11-25 08:54:13 -08:00
Fang-Pen Lin 101470c4b3 Add option 2025-11-25 08:54:12 -08:00
Fang-Pen Lin 66ecddc584 Implement more stuff 2025-11-25 08:54:11 -08:00
Fang-Pen Lin 126c3be606 Add scaffolding for DNS made easy 2025-11-25 08:53:56 -08:00
Fang-Pen Lin 5bb59625fc inconsistency name 2025-11-24 19:13:30 -08:00
Fang-Pen Lin 44fc9d1f18 More docs 2025-11-24 16:57:37 -08:00
Fang-Pen Lin c272c0552c ACME 2025-11-24 16:55:51 -08:00
Fang-Pen Lin 05f4d4bbfa Update gloo mesh doc as well 2025-11-24 16:54:15 -08:00
Fang-Pen Lin a5516e4214 doc 2025-11-24 16:45:44 -08:00
Fang-Pen Lin 740573daab doc 2025-11-24 16:41:45 -08:00
Fang-Pen Lin 9fdce60708 k8s doc 2025-11-24 16:39:44 -08:00
Fang-Pen Lin a497b05d88 doc 2025-11-24 14:38:07 -08:00
Fang-Pen Lin 6716c5cb27 proofread 2025-11-24 14:33:39 -08:00
Fang-Pen Lin 17c4a204f4 docs 2025-11-24 14:31:40 -08:00
Fang-Pen Lin cdc1e7cc16 doc 2025-11-24 14:26:23 -08:00
Fang-Pen Lin 681f7995cf Proofread 2025-11-24 14:15:23 -08:00
Fang-Pen Lin a8354f0859 docs 2025-11-24 14:09:38 -08:00
Fang-Pen Lin 7bfb4b2969 typo 2025-11-24 14:04:08 -08:00
Fang-Pen Lin 747820c7dd k8s doc 2025-11-24 14:04:07 -08:00
Fang-Pen Lin 0d80eb6fae docs 2025-11-24 14:04:06 -08:00
Fang-Pen Lin 5252815b43 docs 2025-11-24 14:04:05 -08:00
Fang-Pen Lin 64f7a83212 More doc 2025-11-24 14:04:04 -08:00
Fang-Pen Lin c3fda7d20d update doc 2025-11-24 14:04:03 -08:00
Fang-Pen Lin d25ab57204 Update docs 2025-11-24 14:04:02 -08:00
Fang-Pen Lin 40ae5c8b3f Merge pull request #4920 from Infisical/PKI-51-internal-ca-do-not-require-cn
[PKI-51] Internal CA do not require CN when issuing cert
2025-11-21 11:11:36 -08:00
Fang-Pen Lin 709b3d7449 Remove allowEmptyCommonName flag 2025-11-21 10:34:31 -08:00
Fang-Pen Lin 810c06c6d7 No need for allowEmptyCommonName flag, just allow empty CN for all 2025-11-21 10:33:36 -08:00
Fang-Pen Lin 2b19425cc7 Fix linter error 2025-11-21 10:30:57 -08:00
Fang-Pen Lin 7c477ef027 Fix internal no CN test 2025-11-21 10:30:56 -08:00
Fang-Pen Lin cf83ae2553 Allow empty CN 2025-11-21 10:30:55 -08:00
Fang-Pen Lin 02c346c77a Revert 2025-11-21 10:30:54 -08:00
Fang-Pen Lin 3a6e287f1b Use axio instead of fetch for acme HTTP-01 challenge 2025-11-21 10:30:53 -08:00
Fang-Pen Lin 5ad4aaf017 Add tests 2025-11-21 10:30:52 -08:00
Fang-Pen Lin 2786d5f049 Add tests 2025-11-21 10:30:51 -08:00
Fang-Pen Lin 8a2b7d1f4e Merge pull request #4895 from Infisical/PKI-53-workaround-for-cert-manager
[PKI-53] Workaround for cert manager ACME bug
2025-11-20 10:02:40 -08:00
Fang-Pen Lin 2093dee2d1 Added todo 2025-11-20 09:38:13 -08:00
Fang-Pen Lin ce41803629 deepcopy 2025-11-20 09:38:12 -08:00
Fang-Pen Lin 2026fcd628 Isolate vars 2025-11-20 09:38:11 -08:00
Fang-Pen Lin 022c3802e3 Add unique constraint for public key under the same profile 2025-11-20 09:38:10 -08:00
Fang-Pen Lin d9d6d3b3d9 Add test to ensure that we don't create duplicate account 2025-11-20 09:38:09 -08:00
Fang-Pen Lin d341dd0fb7 Return existing even if onlyReturnExisting is not set to ture while creating the new one 2025-11-20 09:38:08 -08:00
Fang-Pen Lin b50f03d4fb Add test case for both jwk and kid provided 2025-11-20 09:38:07 -08:00
Fang-Pen Lin 9ae862fc1f Fix find existing account 2025-11-20 09:38:06 -08:00
Fang-Pen Lin a668822e19 Only check EAB when creating a new account 2025-11-20 09:38:05 -08:00
Fang-Pen Lin d190fb15c9 Add test to reproduce the problem 2025-11-20 09:38:04 -08:00
Fang-Pen Lin b251cf4802 Update BDD test to ensure external account required value is returned 2025-11-20 09:38:03 -08:00