Ticket #10499: fix-common-name-with-spaces.patch

File fix-common-name-with-spaces.patch, 474 bytes (added by richard.kunze@…, 5 years ago)
  • /etc/init.d/uhttpd

    old new  
    4444        [ -x "$PX5G_BIN" ] && { 
    4545                $PX5G_BIN selfsigned -der \ 
    4646                        -days ${days:-730} -newkey rsa:${bits:-1024} -keyout "$UHTTPD_KEY" -out "$UHTTPD_CERT" \ 
    47                         -subj /C=${country:-DE}/ST=${state:-Saxony}/L=${location:-Leipzig}/CN=${commonname:-OpenWrt} 
     47                        -subj "/C=${country:-DE}/ST=${state:-Saxony}/L=${location:-Leipzig}/CN=${commonname:-OpenWrt}" 
    4848        } 
    4949} 
    5050