Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow symbolic links for certificate and key files #4252

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

magikid
Copy link

@magikid magikid commented Dec 17, 2020

This corrects an issue where if a symbolic link was given to the
certs:add command, an error would be thrown even though the file was
valid.

Issue: #4251

This corrects an issue where if a symbolic link was given to the
`certs:add` command, an error would be thrown even though the file was
valid.

Issue: dokku#4251
@josegonzalez
Copy link
Member

Does this add the actual file underneath or a symlink to the original cert? I'm torn on which is the "correct" behavior.

@magikid
Copy link
Author

magikid commented Dec 17, 2020

I've been fiddling around with this all afternoon and the PR as it currently is written only adds the symlink and not the file underneath. Since it copies the file into the $APP_DIR/tls folder and set nginx to read from that, I don't see that it makes much difference either way.

@josegonzalez josegonzalez merged commit 40e7f6d into dokku:master Dec 18, 2020
josegonzalez pushed a commit that referenced this pull request Dec 23, 2020
# History

## 0.22.3

Install/update via the bootstrap script:

```shell
wget https://raw.githubusercontent.com/dokku/dokku/v0.22.3/bootstrap.sh
sudo DOKKU_TAG=v0.22.3 bash bootstrap.sh
```

### Bug Fixes

- #4268: @josegonzalez Properly parse flags for logs command
- #4264: @josegonzalez Correct argument handling when setting the `--app` flag
- #4252: @magikid Allow symbolic links for certificate and key files

### New Features

- #4270: @josegonzalez Allow renaming old applications to new format
- #4261: @josegonzalez Add remove by fingerprint and json format output to ssh-keys plugin
- #4262: @josegonzalez Improve ps:restore logging
- #4263: @josegonzalez Bump the dokku client formula on release

### Documentation

- #4253: @guettli Highlight the default build method used by Dokku
- #4250: @rlnd1 Update upgrading.md
- #4249: @guettli Fix typo in zero downtime docs
- #4247: @josegonzalez Clarify the domain name setting in the docs

### Tests

- #4269: @josegonzalez Rename duplicate test
- #4266: @josegonzalez Update junit test files when a bats retry is successful
- #4265: @josegonzalez Retry failing and skipped tests once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants