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

SSL Certificates commonname does not replace %D #105

Closed
j123b567 opened this issue Mar 24, 2021 · 3 comments
Closed

SSL Certificates commonname does not replace %D #105

j123b567 opened this issue Mar 24, 2021 · 3 comments

Comments

@j123b567
Copy link

After some investigation of /etc/init.d/oui-httpd I found, that I need either px5g or openssl binary to generate selfsigned keys. After installing openssl-utils, init script generates keys, but commonname is %D, which is the default value from configuration in /etc/config/oui-httpd

Where it was intended that this placeholder will be replaced? Probably by domain name? Is it a specific feature of some of these binaries? Or it is just currently unimplemented?

@zhaojh329
Copy link
Owner

@j123b567
Copy link
Author

Yes, but the commonname=%D so "${commonname:-OpenWrt}" leads to "%D" which is later passed to openssl/px5g which use it as text and does not replace it by nothing meaningful.

So, prior this command, there should be some replacement logic, which is currently unimplemented?
Just need to know, if it is a bug, misconfiguration, or it is just not implemented yet.

@zhaojh329
Copy link
Owner

Vue3 + Nginx + Lua is coming...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants