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

Import webserver certificate #98

Open
pablo-knight opened this issue May 6, 2021 · 1 comment
Open

Import webserver certificate #98

pablo-knight opened this issue May 6, 2021 · 1 comment
Assignees
Milestone

Comments

@pablo-knight
Copy link
Contributor

Import webserver certificate fails

Traceback (most recent call last):
  File "/usr/bin/pi-appliance", line 23, in <module>
    main()
  File "/opt/pi-appliance/lib/python3.8/site-packages/authappliance/menu.py", line 2150, in main
    pS.main_menu()
  File "/opt/pi-appliance/lib/python3.8/site-packages/authappliance/menu.py", line 1916, in main_menu
    menu()
  File "/opt/pi-appliance/lib/python3.8/site-packages/authappliance/menu.py", line 130, in menu
    menu()
  File "/opt/pi-appliance/lib/python3.8/site-packages/authappliance/menu.py", line 180, in import_certificate
    files = self.apache.get_imports(homedir)
  File "/opt/pi-appliance/lib/python3.8/site-packages/authappliance/lib/appliance.py", line 613, in get_imports
    f = f.decode("ascii")
AttributeError: 'str' object has no attribute 'decode'
@cornelinux
Copy link
Member

Looks like a usual unicode/encoding issue to me.

@plettich plettich changed the title Import webserver certifcate Import webserver certificate Jan 26, 2022
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

3 participants