You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What
This adds an HTTPS mode to the setup wizard. The protocol is set at the
.env level, meaning a profile created with HTTPS cannot be used over
HTTP later, and vice versa.
### Why
HTTPS is required to work with passkeys in a multitenant setup. It's
been implemented in the `feature/c-accounts` branch in the `dev/main.sh`
script, but needs to be ported to the setup wizard.
### Known limitations
N/A
### Checklist
- [x] Title follows `SDP-1234: Add new feature` or `Chore: Refactor
package xyz` format. The Jira ticket code was included if available.
- [x] PR has a focused scope and doesn't mix features with refactoring
- [ ] Tests are included (if applicable)
- [x] `CHANGELOG.md` is updated (if applicable)
- [ ] CONFIG/SECRETS changes are updated in helmcharts and deployments
(if applicable)
- [ ] Preview deployment works as expected
- [ ] Ready for production
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
8
8
9
9
### Added
10
10
11
-
- Added Launch Wizard through `make setup` command to simplify initial setup and mainnet configuration for docker compose [#875](https://github.com/stellar/stellar-disbursement-platform-backend/pull/875)
11
+
- Add Launch Wizard through `make setup` command to simplify initial setup and mainnet configuration for docker compose [#875](https://github.com/stellar/stellar-disbursement-platform-backend/pull/875)
12
+
- Add HTTPS mode to setup wizard [#957](https://github.com/stellar/stellar-disbursement-platform-backend/pull/957)
12
13
- Support for SEP-10 and SEP-24 endpoints in the SDP [#834](https://github.com/stellar/stellar-disbursement-platform-backend/pull/834)
Copy file name to clipboardExpand all lines: dev/README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
-[Pre-requisites](#pre-requisites)
10
10
-[Clone the repository:](#clone-the-repository)
11
11
-[Update local DNS](#update-local-dns)
12
+
-[Set up local HTTPS (optional)](#set-up-local-https-optional)
12
13
-[Automated Stellar Account Creation and .env Configuration](#automated-stellar-account-creation-and-env-configuration)
13
14
-[Start/Stop Local Environment](#startstop-local-environment)
14
15
-[Login to the SDP and send a Disbursement](#login-to-the-sdp-and-send-a-disbursement)
@@ -62,6 +63,23 @@ To include them, you can run command `sudo nano /etc/hosts` and insert the lines
62
63
127.0.0.1 pinkcorp.stellar.local
63
64
```
64
65
66
+
### Set up local HTTPS (optional)
67
+
68
+
HTTPS is required for working with WebAuthn/passkeys. If you want the wizard to launch the dashboard over HTTPS (`https://<tenant>.stellar.local:3443`):
fmt.Println("Using TLS certs from dev/certs (HTTPS enabled)")
107
+
returnnil
108
+
}
109
+
}
110
+
111
+
returnfmt.Errorf("HTTPS selected but TLS certs are missing; expected dev/certs/stellar.local.pem and dev/certs/stellar.local-key.pem (generate with mkcert; see dev/README.md)")
112
+
}
113
+
78
114
// composeDown runs 'docker compose down' with the given config.
0 commit comments